Open apblack opened 4 years ago
See https://github.com/gracelang/minigrace/issues/325. This is really a language design issue.
Disallowing returns doesn’t actually solve the problem. In evaluating the initial value of a def or var, an exception could be raised, and the handler could return something arbitrary.
See https://github.com/gracelang/minigrace/issues/325. This is really a language design issue.