esl / ice

Apache License 2.0
2 stars 4 forks source link

Compiler shall check that variable is not defined multiple times in wherevar #29

Open lucafavatella opened 11 years ago

lucafavatella commented 11 years ago

The following should give a compile error "Error, var A already defined."

A
where
  var A = 46
  var A = 58
end

At the moment the code is parsed and the execution results in 58.