Genrate warning when NTA not subclass of ASTNode
Issue #280
resolved
Example following code will generate NullPointerException.
Ast:
A;
Jrag:
aspect Test { syn nta interfaceB A.getA(); interface interfaceB {} }
Generate a error insted.
Comments (2)
-
-
- changed status to resolved
Fix crash in parentMap computation
The parentMap attribute would crash if the return type of a synthesized NTA declared in the abstract grammar was not an AST class.
fixes
#280(bitbucket)→ <<cset 7581c82f11a7>>
- Log in to comment
An error message for this error is already implemented in JastAdd, however it is never shown because JastAdd crashes while building the parent map: