- changed status to resolved
Inline if's JS output changed. Program logic "broken" since e446b40.
Issue #134
resolved
The following dwscript code:
var aAltId := 'b';
var test := (if aAltId <> '' then '_' + LowerCase(aAltId)) + 'a';
Produces this (correct) output using DWScript commit 4473120 (2018-07-24 17:14):
aAltId = "b";
test = ((aAltId!="")?"_"+LowerCase(aAltId):"")+"a";
but when checking out e446b40 (2018-07-26 18:00) this output is produced:
aAltId = "b";
test = (aAltId!="")?"_"+LowerCase(aAltId):""+"a";
As you can see, JS interprets this very differently. Unfortunately this breaks my application. I would so so appreciate if the functionality could be restored.
Many TIAs!
/Dany
Comments (2)
-
repo owner -
reporter Yes, indeed. Thanks!
- Log in to comment
Fixed
#134→ <<cset 8c28b0411d3f>>