bugKawa - Bugs: bug #34003, Unknown class confuses inliner

 
 

bug #34003: Unknown class confuses inliner

Submitter:  Helmut Eller <ellerh>
Submitted:  Sat 13 Aug 2011 11:24:14 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 28 Aug 2011 05:20:23 PM UTC, comment #1: 

Thanks!  I checked in a fix.

Per Bothner <bothner>
Group administrator
Sat 13 Aug 2011 11:24:14 AM UTC, original submission:  

This code:

(define (foo)
  (try-catch
   #f
   (ex java.lang.Throwable
       (instance? ex <cons>))))

produces a long a error:

x.scm:6:8: caught exception in inliner for #<procedure instance?> - java.lang.RuntimeException: no such class: cons

followed by a long backtrace.  The program is probably not
terribly useful, but the error message should be bit more friendly.
The same seems to happen if <cons> is replaced with <error>.

Helmut Eller <ellerh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by ellerh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-28 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code