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("]
|
= do tell ["sizeof("]
|
||||||
genType t
|
genType t
|
||||||
tell [")"]
|
tell [")"]
|
||||||
|
genBytesIn' (A.Mobile t@(A.Array {})) = genBytesIn' t
|
||||||
genBytesIn' (A.Mobile _)
|
genBytesIn' (A.Mobile _)
|
||||||
= tell ["sizeof(void*)"]
|
= tell ["sizeof(void*)"]
|
||||||
genBytesIn' (A.List _)
|
genBytesIn' (A.List _)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user