﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1758	Rest-argument optimization related internal compiler error	Idiomdrottning		"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?"	defect	closed	major	5.3	compiler	5.2.0	fixed	optimizer		
