tokiwa-software / fuzion

The Fuzion Language Implementation
https://fuzion-lang.dev
GNU General Public License v3.0
45 stars 9 forks source link

unjustified "Block must end with a result expression" #3233

Closed michaellilltokiwa closed 3 days ago

michaellilltokiwa commented 2 weeks ago
ex =>
  bla outcome unit =>
    if true
      _ := 4 + 5
    else
      unit

this works:

ex =>
  bla outcome unit =>
      _ := 4 + 5