[antlr-interest] Consequence of Bug ANTLR-413 in GUnit

Kaleb Pederson kaleb.pederson at gmail.com
Thu Dec 31 14:45:41 PST 2009


I just got around to debugging an issue in GUnit's tree walking capabilities only to find that it's caused by a bug I reported previously: 

ANTLR-413.

The failure of the CommonTreeNodeStream to pass in the adaptor to the tree iterator results in numerous ClassCastException's being thrown in GUnit's tree walking tests.

Since the fix is:

-    it = new TreeIterator(root);
+    it = new TreeIterator(adaptor, root);

in CommonTreeNodeStream.java... I hope it can be fixed for the next release :).

Thanks.

--
Kaleb Pederson

Blog - http://kalebpederson.com
Twitter - http://twitter.com/kalebpederson


More information about the antlr-interest mailing list