chicken-janitors
[Top][All Lists]
Advanced

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

#1658: One bug left with rest-argument optimizations


From: Chicken Trac
Subject: #1658: One bug left with rest-argument optimizations
Date: Fri, 13 Dec 2019 10:53:04 -0000

#1658: One bug left with rest-argument optimizations
-------------------------------+----------------------
            Reporter:  megane  |       Type:  defect
              Status:  new     |   Priority:  major
           Milestone:  5.2     |  Component:  compiler
             Version:  5.1.0   |   Keywords:
Estimated difficulty:          |
-------------------------------+----------------------
 {{{
 (import scheme (chicken base))

 ((lambda f0
    (let ((v0 f0))
      (if (scheme#pair? v0)
          (scheme#car v0))))
  1)

 ;; $ csc5 -specialize qt-lite-fail-2.scm && ./qt-lite-fail-2
 ;;
 ;; Error: attempted rest argument access at index 0 but rest list length
 is 0: #<procedure>

 }}}

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1658>
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]