Mixing block expressions and statements
Bug #867235 reported by
Ghislain
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Nicolae Brinza |
Bug Description
Hi,
In the current state of our scripting specification, the following query should not parse (the second block should return something since the first one does) but it does parse and executes successfully.
if (true()) then { 1; 2 } else { 2; }
Thanks