chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Internal compiler error on use bindings


From: Mark Carter
Subject: [Chicken-users] Internal compiler error on use bindings
Date: Tue, 20 Mar 2012 13:11:14 +0000
User-agent: KMail/1.13.7 (Linux/3.2.0-1-686-pae; KDE/4.6.5; i686; ; )

Here's one for your mystery file:

foo.scm:
        (use bindings)
        (bind (a b c) '(1 2 3)
                (print a))
        (write-line "Finished")


$ csj -bq foo.scm
1
Finished

BUT:

$ csc foo.scm

Error: [internal compiler error] type of literal not supported: #<procedure>

        Call history:

        <syntax>          (##core#begin (write-line "Finished"))
        <syntax>          (write-line "Finished")       <--

Error: shell command terminated with non-zero exit status 17920: 
/home/mcarter/.local/bin/chicken foo.scm -output-file foo.c



FYI:
$ csi

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0.5-st 
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2012-03-07 on miro (Linux)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]