Skip to content

Commit

Permalink
Remove UNREACHABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
softmattertheory committed May 24, 2024
1 parent 4767362 commit 9dc8674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ static void _findfunctionref(compiler *c, value symbol, bool *hasclosure, varray
if (MORPHO_ISEQUAL(ref->symbol, symbol)) {
bool iscl = function_isclosure(ref->function);
if (iscl) {
UNREACHABLE("Closure in upvalue");
//UNREACHABLE("Closure in upvalue");
}

closure |= iscl;
Expand Down

0 comments on commit 9dc8674

Please sign in to comment.