Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5905

NP when AST implementation class lacks @GroovyASTTransformation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-rc-1
    • 2.1.0-rc-2, 2.1.0
    • Compiler
    • None

    Description

      Whenever an AST implementation classes isn't annotated with @GroovyASTTransformation, ClassNode#addTransform throws a NullPointerException.

      Attachments

        Activity

          People

            paulk Paul King
            andre.steingress Andre Steingress
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: