cincheo / jsweet

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

Double.isFinite(0.1); fails to compile #591

Closed keithphw closed 3 years ago

keithphw commented 4 years ago

Hi, I noticed that this method fails to compile. Double.isFinite(0.1);

It's unusual since Double.isInfinite(0.1) works fine.

I'm using this version of JSweet in my POM:

<jsweet.transpiler.version>3.0.0-RC3</jsweet.transpiler.version>
<jsweet.core.version>6.2.0</jsweet.core.version>

Thanks for your help. Cheers, Keith

lgrignon commented 3 years ago

Will be fixed in RC5

lgrignon commented 3 years ago

(and 2.4.0 just for information)