WIP.
This commit is contained in:
parent
58868c9908
commit
1726ec2cc7
|
@ -157,6 +157,9 @@ fn parse_body<'a>(
|
||||||
log::trace!("checking if block is sealed: {}", block);
|
log::trace!("checking if block is sealed: {}", block);
|
||||||
assert!(builder.locals.is_sealed(block));
|
assert!(builder.locals.is_sealed(block));
|
||||||
}
|
}
|
||||||
|
for value in &builder.body.values {
|
||||||
|
assert!(value != &ValueDef::Placeholder);
|
||||||
|
}
|
||||||
|
|
||||||
trace!("Final function body:{:?}", ret);
|
trace!("Final function body:{:?}", ret);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue