Ticket #179 (closed defect: fixed)
ddc: Bad code generated for statement containing nothing but a curried function.
| Reported by: | Tac-Tics | Owned by: | erikd |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.1.3 |
| Component: | Core to Sea Translation | Version: | |
| Keywords: | PANIC | Cc: |
Description
With the following code:
foo :: () -> () foo () = () main () = do foo ()
The compiler panics with:
~/Desktop$ ddc Main.ds
[1 of 1] Compiling Main
cc1: warnings being treated as errors
./Main.ddc.c: In function ‘Main_main’:
./Main.ddc.c:67: error: implicit declaration of function ‘_curry0’
ddc: PANIC in Main.Invoke
invokeSeaCompiler: compilation of C file failed.
pathC = ./Main.ddc.c
Please report this bug to the maintainers at:
http://trac.haskell.org/ddc
or by emailing disciple-cafe@googlegroups.com
~/Desktop$
Change History
Note: See
TracTickets for help on using
tickets.
