bugKawa - Bugs: bug #12106, define-alias on types only works...

 
 

bug #12106: define-alias on types only works in compiled modules

Submitted by:  Steve Yegge <stevey>
Submitted on:  Wed 23 Feb 2005 06:00:31 AM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Unexpected resultStatus: Works For Me
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Mar 2005 11:21:46 PM UTC, comment #1:

It may have been fixed now:

$ java kawa.repl
#|kawa:1|# (define-alias <jframe> <javax.swing.JFrame>)
#|kawa:2|# (make <jframe> "hello")
javax.swing.JFrame[frame0,1400,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,title=hello,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Wed 23 Feb 2005 06:00:31 AM UTC, original submission:

(define-alias <jframe> <javax.swing.JFrame>)
(make <jframe> "hello")
gnu.mapping.UnboundLocationException: unbound location <jframe>

This is not a blocking issue; it's more of an annoyance.
The workaround is to fully qualify all your types.

Steve Yegge <stevey>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 17 Mar 2005 11:10:44 PM UTCbothnerStatusNone=>Works For Me
  Open/ClosedOpen=>Closed
Mon 07 Mar 2005 11:21:46 PM UTCbothnerAssigned toNone=>bothner

Back to the top


Powered by Savane 3.1-cleanup1