Coder Social home page Coder Social logo

codegen's People

Contributors

mhdirkse avatar

Watchers

 avatar

codegen's Issues

HandlerStackContext.removeAllPreceeding removes wrong when combined with other manipulations

HandlerStackContext.removeAllPreceeding only takes into account the sequence number of the handler being visited. For example, if this is the third handler (sequence number 2), then two handlers are removed. However, if before the call to removeAllPreceeding there were other calculations, then the number to remove is different. For example, if removeFirst() was called before, then only one handler remains to be removed.

Test code in HandlerVisitorImplTest suggests that the return value of the HandlerStub calls is relevant

The class HandlerStubVisitorImpl calls a HandlerRunner instance. This HandlerRunner calls the right method on the generated handler interface; in the test this is HandlerStub. The testcode tests that the return value of HandlerRunner is properly used, but the interaction between the HandlerRunner and the HandlerStub is not tested. The code suggests otherwise, because the return value is specified in the constructor of HandlerStub.

Inner classes do not work properly

In my Codegen program I has an annotation @input() where referenced the name of an inner class. The Codegen program gave an error when the inner class was referenced by its canonical name, which is without "$" sign. The plugin error was fixed when the class was referenced by its ordinary name, which is with "$" sign. But that way, I got a compile error in my output class. It inherited from , but now you do not need the "$" sign.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.