chicken-janitors
[Top][All Lists]
Advanced

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

#1758: internal compiler error


From: Chicken Trac
Subject: #1758: internal compiler error
Date: Fri, 28 May 2021 15:50:25 -0000

#1758: internal compiler error
---------------------------------------+---------------------
            Reporter:  Idiomdrottning  |       Type:  defect
              Status:  new             |   Priority:  major
           Milestone:  someday         |  Component:  unknown
             Version:  5.2.0           |   Keywords:
Estimated difficulty:                  |
---------------------------------------+---------------------
 mdg extension is in brev egg and also depends on match-generics egg

  (import  mdg (chicken base))

  (define (pairup lis) lis)

  (define (pairup (a b . rest))
    (cons (list a b) (pairup rest)))

  (print (pairup '(a b c d e f g h)))

 ;; on -O2, prints ((a b) (c d) (e f) (g h))
 ;; on -O3, Error: [internal compiler error] Unknown rest op node class in
 while converting to closure. This shouldn't happen!: ##core#rest-null?

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1758>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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