[ sisc-Bugs-1434848 ] error in 'show'

"SourceForge.net" <[email protected]> Sun, 19 Feb 2006 14:13:57 -0800
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #1434848, was opened at 2006-02-19 22:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1434848&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: error in 'show'

Initial Comment:
SISC (1.13.0-alpha)
#;> (import debugging)
#;> (show (lambda ()
  (call/cc (lambda (k-esc)
             ((lambda () #f)
              (call/cc (lambda (k-res) (k-esc k-res))))))))
(#%lambda ()
  (call/cc
    (#%lambda (|%%_TdQfv0JK4_k-esc|)
      ((#%lambda () #f)
       (call/cc
         (#%lambda (|%%_TdacttJK4_k-res|)
           (|%%_TdQfv0JK4_k-esc| |%%_TdacttJK4_k-res|)))))))
=>
Error in map-car: expected type pair, got '()'.
file:../modules/optimizer/ds.scm:44:29: <from call to map-car>
file:../modules/optimizer/ds.scm:44:29: <indeterminate call>
file:../modules/optimizer/ds.scm:44:19: <indeterminate call>
file:../modules/optimizer/main.scm:79:33: <from call to apply>
file:../modules/optimizer/main.scm:78:19: <from call to/argument of values>
?:?:?: <indeterminate call> [Repeated twice]
file:../modules/debug.scm:20:28: <indeterminate call>
#;> 


This looks like a bug in the optimizer. However, evaluating the expression (rather than show'ing it) actually works, which is strange.

Btw, the example I gave is the shortest expression I could come up with that exhibits this behaviour.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1434848&group_id=23735


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642