diff --git a/lang/src/son/hbvm.rs b/lang/src/son/hbvm.rs index 1c06b93..4eef68b 100644 --- a/lang/src/son/hbvm.rs +++ b/lang/src/son/hbvm.rs @@ -392,6 +392,8 @@ impl Nodes { } } + buf.sort_by_key(|&n| !self.is_cfg(n)); + if outputs.len() != buf.len() { panic!("{:?} {:?}", outputs, buf); }