processor / E

Core library for dscript (parser, expressions, etc)
1 stars 1 forks source link

Remove var shorthand #11

Closed iamcarbon closed 7 years ago

iamcarbon commented 7 years ago

Make mutability explicit through the mutable keyword.

let i = 0; i += 1; // error
let mutable i = 0; i += 1;  // ok 
iamcarbon commented 7 years ago

Keeping var for now