make tests green again

This commit is contained in:
Ilya Rezvov
2018-02-25 16:12:56 -08:00
parent fdfdd14ace
commit 88696e4666
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -730,7 +730,7 @@ folded_else :: { [Instruction] }
folded_call_indirect :: { [Instruction] }
: ')' { [PlainInstr $ CallIndirect $ AnonimousTypeUse $ FuncType [] []] }
| '(' folded_call_indirect_typeuse { (PlainInstr $ CallIndirect $ fst $2) : snd $2 }
| '(' folded_call_indirect_typeuse { snd $2 ++ [PlainInstr $ CallIndirect $ fst $2] }
folded_call_indirect_typeuse :: { (TypeUse, [Instruction]) }
: 'type' typeidx ')' folded_call_indirect_functype {