Ticket #42 (closed enhancement: fixed)
Support unboxed CAFs
| Reported by: | benl | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.1.5 |
| Component: | Core to Sea Translation | Version: | 0.1.2 |
| Keywords: | Cc: |
Description
With this file
upi = 3.14159# main () = putStr $ show (boxFloat32 upi)
We currently get:
benl@humboldt:~/devel/ddc/ddc-head-work$ bin/ddc -make test/Broken-skip/TopLevelUnboxed/Main.ds [1 of 1] Compiling Main ./test/Broken-skip/TopLevelUnboxed/Main.ddc.c: In function ‘_ddcInitModule_Main’: ./test/Broken-skip/TopLevelUnboxed/Main.ddc.c:15: error: incompatible types in assignment ./test/Broken-skip/TopLevelUnboxed/Main.ddc.c: In function ‘Main_main’: ./test/Broken-skip/TopLevelUnboxed/Main.ddc.c:52: error: incompatible type for argument 1 of ‘_boxFloat32’
Change History
Note: See
TracTickets for help on using
tickets.
