Reported by hoehna on 2013-11-11 09:55 UTC
We had problems with an if else statement because we put the else on a new line, which is not possible in Rev. The error message was incomprehensible, however. Because this will be a common mistake, we should try to give a good error message if it is encountered in source files (actually, we could allow such constructs in source files if we put a little work into it). It is OK if Rev requires '} else' on the same line (I think it is necessary in the console window at least) but it would be helpful with a good error message alerting users to such mistakes.
Reported by hoehna on 2013-11-11 09:55 UTC We had problems with an if else statement because we put the else on a new line, which is not possible in Rev. The error message was incomprehensible, however. Because this will be a common mistake, we should try to give a good error message if it is encountered in source files (actually, we could allow such constructs in source files if we put a little work into it). It is OK if Rev requires '} else' on the same line (I think it is necessary in the console window at least) but it would be helpful with a good error message alerting users to such mistakes.