'fix' type of br_if and comment multiple table definitions in test module
This commit is contained in:
@@ -188,7 +188,7 @@ getInstrType (Br lbl) = do
|
||||
return $ (Any : r) ==> Any
|
||||
getInstrType (BrIf lbl) = do
|
||||
r <- map Val . maybeToList <$> getLabel lbl
|
||||
return $ (r ++ [Val I32]) ==> r
|
||||
return $ ([Val I32]) ==> empty
|
||||
getInstrType (BrTable lbls lbl) = do
|
||||
r <- getLabel lbl
|
||||
rs <- mapM getLabel lbls
|
||||
|
||||
Reference in New Issue
Block a user