Corrected BYTESIN for mobile arrays
This commit is contained in:
parent
658bfd08e4
commit
d3f4ff1a9a
|
@ -364,6 +364,7 @@ cgenBytesIn m t v
|
|||
= do tell ["sizeof("]
|
||||
genType t
|
||||
tell [")"]
|
||||
genBytesIn' (A.Mobile t@(A.Array {})) = genBytesIn' t
|
||||
genBytesIn' (A.Mobile _)
|
||||
= tell ["sizeof(void*)"]
|
||||
genBytesIn' (A.List _)
|
||||
|
|
Loading…
Reference in New Issue
Block a user