maxrt101 / ff

Scripting language
MIT License
4 stars 0 forks source link

Can assign to const using ref #44

Open maxrt101 opened 1 year ago

maxrt101 commented 1 year ago

This works, but shouldn't

const VERSION = "1.0";

fn main() -> {
  var v = ref VERSION;
  v := "1.1";

  print VERSION;
  print v;
}