Parameterized circular attributes fail in case of incremental evaluation
Issue #296
resolved
When defining a circular attribute with at least one parameter, its evaluation always results in a thrown NullPointerException
if incremental evaluation is activated.
The problem is a lookup of a HashMap mapping parameters to handlers, which is never filled, thus returning null.
Comments (3)
-
-
- changed status to resolved
Pull request with fix merged.
-
- changed component to incremental
- Log in to comment
I have added a minimal test for this issue (adopted from the example you provided in email) to the regression test suite as
incremental/param/Test137
. Here is the stack trace when running with JastAdd 2.3.2-36-gcecdd6df:The test case is here.