cincheo / jsweet

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

fix dependent fields initialization #568

Closed lgrignon closed 4 years ago

lgrignon commented 4 years ago

There was a problem when a not primitive field init relies on a primitive field (please see attached unit test case).

We now guarantee that all fields are initialized the same way.