Link to .capx file (required!):
http://dl.dropbox.com/u/5426011/examples16/expressionCollaseBug.capx
Steps to reproduce:
Using any expression with literals that result in NaN or infinity when collapsed will cause a syntax error at runtime.
Observed result:/Expected result:/Proposed solution:
For 1/0 the result is 1#INF when exporting, it should be Infinity.
For -1^0.5 the result is -1#IND when exporting, it should be NaN.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: untested (likely yes)
Operating system & service pack:
Winxp sp3
Construct 2 version:
r119 but should happen in any version.