mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 13:33:13 +00:00
Fix #988
This commit is contained in:
@@ -1115,6 +1115,7 @@ bool check_cycle(CheckerContext *c, Entity *curr, bool report) {
|
||||
error(curr->token, "\t%.*s refers to", LIT(curr->token.string));
|
||||
}
|
||||
error(curr->token, "\t%.*s", LIT(curr->token.string));
|
||||
curr->type = t_invalid;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user