id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
179,ddc: Bad code generated for statement containing nothing but a curried function.,Tac-Tics,erikd,"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$ 
}}}",defect,closed,blocker,0.1.3,Core to Sea Translation,,fixed,PANIC,
