mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-11 06:16:21 +00:00
add NullPointer to mono::ir::Expr
This commit is contained in:
parent
63cdd00d13
commit
09779f65ad
9 changed files with 28 additions and 3 deletions
|
@ -390,6 +390,7 @@ impl<'a, 'r> Ctx<'a, 'r> {
|
|||
fn check_expr(&mut self, e: &Expr<'a>) -> Option<InLayout<'a>> {
|
||||
match e {
|
||||
Expr::Literal(_) => None,
|
||||
Expr::NullPointer => None,
|
||||
Expr::Call(call) => self.check_call(call),
|
||||
&Expr::Tag {
|
||||
tag_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue