add Expect ir::Stmt node

This commit is contained in:
Folkert 2022-05-26 16:46:10 +02:00
parent 70df1ff9c7
commit b29c7d6fb2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
10 changed files with 239 additions and 17 deletions

View file

@ -979,6 +979,9 @@ trait Backend<'a> {
self.set_last_seen(*sym, stmt);
}
}
Stmt::Expect { .. } => todo!("expect is not implemented in the wasm backend"),
Stmt::RuntimeError(_) => {}
}
}