eclipse / mita

mita
Eclipse Public License 2.0
56 stars 20 forks source link

Using variables with declared types leads to errors (int8, uint8) #310

Closed rherrmannr closed 5 years ago

rherrmannr commented 5 years ago

Current behavior:

// this works as intendend
var x : stdlib.uint8 = 0;
x = 5 + 3;

// this does not work, but it should
var y : stdlib.int8 = 0;
y = 5 + 3;

Expected behavior: Using simple calculations should work, if the type is definied.