Adjusted the Types module to use the new types in array constructors
This commit is contained in:
parent
ff9c0549ca
commit
7baeb318f2
|
@ -240,7 +240,8 @@ typeOfExpression e
|
|||
else typeOfArrayList [A.UnknownDimension] bt
|
||||
A.ExprConstr m (A.RepConstr _ rep e) ->
|
||||
do t <- typeOfExpression e
|
||||
typeOfArrayList [A.Dimension $ countReplicator rep] t
|
||||
count <- evalIntExpression $ countReplicator rep
|
||||
typeOfArrayList [A.Dimension count] t
|
||||
A.AllocMobile _ t _ -> return t
|
||||
--}}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user