Opened 5 years ago

Closed 5 years ago

#1658 closed defect (fixed)

One bug left with rest-argument optimizations

Reported by: megane Owned by:
Priority: major Milestone: 5.2
Component: compiler Version: 5.1.0
Keywords: Cc:
Estimated difficulty:

Description

(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>

Change History (1)

comment:1 Changed 5 years ago by felix winkelmann

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.