You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
JSIL use special type for handling decimal values (separate from Number), but still use raw Number if decimal created through JSNumberLiteral.
We should fix it. @kg which option do you prefer:
Replace JSNumberLiteral with constructor call as step of pipeline (I suppose something similar happens with int64?)
Create JSDecimalLiteral and return it from JSLiteral.New(decimal) with special method in JavascriptAstEmitter.
Just write special logic inside JavascriptAstEmitter.VisitNode (JSNumberLiteral number).