Added support for the new AllocMobile item in the Types module
This commit is contained in:
parent
00d48d27de
commit
31642036b7
|
@ -249,6 +249,7 @@ typeOfExpression e
|
|||
do t <- typeOfExpression e
|
||||
count <- evalIntExpression $ sizeOfReplicator rep
|
||||
return $ A.Array [A.Dimension count] t
|
||||
A.AllocMobile _ t _ -> return t
|
||||
--}}}
|
||||
|
||||
-- | Gets the return type(s) of a function call from the 'CompState'.
|
||||
|
|
Loading…
Reference in New Issue
Block a user