in rule ajax-action-call-to-exp(0|3): constructor ActionCallArgsAnno/1 not declared
build fails with
Submitted by Eelco Visser on 21 June 2010 at 11:23
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_UTILS used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor None used without parentheses
[ strc | warning ] Nullary constructor Null used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | warning ] Nullary constructor e_HibSession used without parentheses
[ strc | error ] in rule ajax-action-call-to-exp(0|3): constructor ActionCallArgsAnno/1 not declared
ActionCallArgsAnno(_)
[ strc | error ] in rule attribute-handle-actions(0|0): constructor ActionCallArgsAnno/1 not declared
ActionCallArgsAnno(fargs)
[ strc | error ] Compilation failed (5.62 secs)
Issue Log
Probably an issue with caching of rtrees or stratego libraries in the makefile, try
make fullclean
.
I keep getting the error, also after a fullclean
Are you sure you have the latest version checked out? It’s building without errors on the buildfarm and on my machine.
$ svn up
At revision 4027.
Is there an occurence of ActionCallArgsAnno at all in the source code? If there isn’t, try building a new complete checkout.
A caching problem after all (libwedslfront.rtree not removed by makefile it seems)
This is caused by a left-over rtree, in this case
org/webdsl/dsl/to-java-servet/ajax/attr-events.rtree
.
The str source is deleted but the rtree is not cleaned up, which still references an old constructor.
Just delete the rtree and it’ll work just fine. Remove the .dep files from src if you’re getting an error about missing the rtree file.Keeping the bug open until someone fixes the makefile to auto-remove stale rtrees.
Stale
rtree
files has always been a problem. In the end thertree
approach is really just a poor hack for parse caching. I recently added a--cache-dir
option to the compiler that maintains cached ASTs in a separate directory. Spoofax 0.5.1+ uses it by default. There’s one open issue though: it should reparse files if the parse table changes (StrategoXT/829).
Log in to post comments