mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
add unreachable instruction to the mono IR
This commit is contained in:
parent
ccd302cbe9
commit
6bc0cf33a5
6 changed files with 22 additions and 2 deletions
|
@ -335,6 +335,7 @@ where
|
|||
Stmt::Ret(sym) => {
|
||||
self.set_last_seen(*sym, stmt);
|
||||
}
|
||||
Stmt::Unreachable => {}
|
||||
Stmt::Inc(sym, following) => {
|
||||
self.set_last_seen(*sym, stmt);
|
||||
self.scan_ast(following);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue