rpau / javalang-compiler

Java compiler elements (symbol and type tables) to perform code semantic analysis
GNU Lesser General Public License v3.0
10 stars 4 forks source link

anonymous class resolve error #61

Closed cal101 closed 7 years ago

cal101 commented 7 years ago

The anonymous class counter is incremented twice. Seems to have to do with symbol data handling of anonymous classes. ~~I didn't found a fix that does not break other test. ~~

see https://github.com/rpau/javalang-compiler/pull/62/commits/52a6cd0d114b1af477c06f98efb8bc472f61d366

It would be nice if you could take a look, most of my problems left are of this kind.

Good enough for me now, needs some review when time.

Please ignore the first 2 changesets of the 4 below. I don't why they don't vanish.

cal101 commented 7 years ago

Fixed.