Syntax errors in generated aspects are silently ignored.

Issue #138 resolved
Görel Hedin created an issue

If you happen to write erroneous Java syntax in tt files, JastAdd may silently ignore these errors. This happens for tt files that are used for generating intrinsic aspects for JastAdd, e.g., for AST traversal and construction.

The result is that the generated code will not include the methods/constructors you were trying to generate.

It would be better if JastAdd generated some kind of error/warning, when there are syntax errors in these tt files.

Comments (1)

  1. Log in to comment