pchapin / scala

Scalaness: A stagged programming system for embedded systems based on Scala.
0 stars 0 forks source link

NesT typer does not verify consistency of initializers #14

Open pchapin opened 11 years ago

pchapin commented 11 years ago

Consider code such as

int x = f( ) + 1;

The nesT typer does type checking of the expression f( ) + 1 but it does not verify that the overall type of the expression is appropriate for the declared entity. For example the following passes type checking

int array[10] = 0;