[fine] Starting on lists, god help me
This commit is contained in:
parent
106f2eb30f
commit
9ee8d39963
5 changed files with 190 additions and 35 deletions
|
|
@ -425,7 +425,7 @@ fn compile_binary_expression(c: &mut Compiler, t: TreeRef, tr: &Tree) -> CR {
|
|||
|
||||
compile_expression(c, tr.nth_tree(2)?);
|
||||
|
||||
if arg_type.compatible_with(&Type::Nothing) {
|
||||
if c.semantics.type_compat(&arg_type, &Type::Nothing) {
|
||||
c.push(Instruction::Discard);
|
||||
c.push(Instruction::Discard);
|
||||
c.push(Instruction::PushTrue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue