fix br_if typing
This commit is contained in:
1 parent
d0b1092064
commit
681e0e3eca
3 files changed
+2
-69
No files matched your search
@@ -198,7 +198,7 @@ getInstrType (Br lbl) = do
|
||||
return $ (Any : r) ==> Any
|
||||
getInstrType (BrIf lbl) = do
|
||||
r <- map Val . maybeToList <$> getLabel lbl
|
||||
return $ ([Val I32]) ==> empty
|
||||
return $ (r ++ [Val I32]) ==> r
|
||||
getInstrType (BrTable lbls lbl) = do
|
||||
r <- getLabel lbl
|
||||
rs <- mapM getLabel lbls
|
||||
|
||||
Reference in new issue
Block a user