apoch / epoch-language

Home of the Epoch Programming Language Project
Other
72 stars 3 forks source link

Infix expressions can reorder incorrectly #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Order of evaluation for infix expressions can be incorrect when invoking a 
function as part of the expression:

debugwritestring("Beer supply: " ; cast(string, beer))

Will output "nBeer supply: " where n is the current value of the beer variable.

Investigate the infix evaluation logic for the cause of this and correct it; 
order of evaluation should ALWAYS be left to right.

Original issue reported on code.google.com by don.ap...@gmail.com on 8 Oct 2010 at 8:19

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by don.ap...@gmail.com on 9 Oct 2010 at 6:26