Made sure that record literals are pulled up (perhaps this accidentally lost in the past?)
This commit is contained in:
parent
2941cbd049
commit
8ee32f0795
|
@ -443,6 +443,10 @@ pullUp pullUpArraysInsideRecords = pass "Pull up definitions"
|
|||
case e' of
|
||||
A.Literal {} -> pull t e'
|
||||
_ -> return e'
|
||||
A.Record _ ->
|
||||
case e' of
|
||||
A.Literal {} -> pull t e'
|
||||
_ -> return e'
|
||||
_ -> return e'
|
||||
where
|
||||
pull :: A.Type -> A.Expression -> PassM A.Expression
|
||||
|
|
Loading…
Reference in New Issue
Block a user