- changed status to resolved
Overly eager annotation parsing
Issue #257
resolved
JastAdd 2.2.0
It seems like the annotation parser in JastAdd includes comments in the annotations, leading to strange bugs like this:
// Test lazy condition.
@LazyCondition
coll Collection<Problem> Program.problems() [ new LinkedList<Problem>() ] with add;
===
[junit] JastAdd code generation failed when expected to pass:
[junit] Error at tests/coll/lazycondition_02p/Test.jrag:15: unsupported annotations for this attribute declaration: // Test lazy condition.
[junit] @LazyCondition
Note that removing the comment above fixes the test.
Comments (1)
-
reporter - Log in to comment
Skip comments in attribute annotation processing
fixes
#257(bitbucket)→ <<cset 19c7bf87bdc1>>