Ticket #67 (new defect)
Compiler panic applying polymorphic functions to unboxed values
| Reported by: | benl | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 0.1.4 |
| Component: | Core Type Checker | Version: | 0.1.2 |
| Keywords: | Cc: |
Description
Added by Jared
example () = do
ub3 = primInt32U_neg $ 3#
()
Gives
cc1: warnings being treated as errors
./Foo.ddc.c: In function ‘Panic1_main’:
./Foo.ddc.c:39: error: passing argument 2 of ‘Data_Function__symDl’ makes
pointer from integer without a cast
./Foo.ddc.c:39: error: assignment makes integer from pointer without a cast
ddc: PANIC in Main.Invoke
invokeSeaCompiler: compilation of C file failed.
pathC = ./Panic1.ddc.c
Should detect this in core and give a nicer error message.
Change History
Note: See
TracTickets for help on using
tickets.
