cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 161 forks source link

Source map wrong for anon classes #643

Open mathieu-bergeron opened 3 years ago

mathieu-bergeron commented 3 years ago

I think there might be a bug in the generated source map for a specific case where a method is called from inside an anonymous class. Tested with versions 3.0.0 and 2.3.0.

source bug

Thanks for your work BTW, I'm currently using JSweet for a project and it is greatly appreciated!

lgrignon commented 3 years ago

That's a good one, thanks