bugKawa - Bugs: bug #47615, Runtime exception when calling...

 
 

bug #47615: Runtime exception when calling method on ClassType object

Submitted by:  Tom Bousso <tbousso>
Submitted on:  Mon 04 Apr 2016 03:17:47 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
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.

 

Fri 08 Apr 2016 05:17:23 PM UTC, comment #2:

I believe this matches the documentation:
http://www.gnu.org/software/kawa/Colon-notation.html
http://www.gnu.org/software/kawa/Method-operations.html

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 07 Apr 2016 11:52:39 PM UTC, comment #1:

The same thing happens with java.lang.Class objects not just ClassTypes.

The following doesn't work:

but this does:

Tom Bousso <tbousso>
Mon 04 Apr 2016 03:17:47 AM UTC, original submission:

This is derived from the jmc.scm file in the testsuite. The first version using *:setSuper works (this is how it's done in jmc.scm), however when I use c2:setSuper instead it seems to get confused and try to call setSuper on the class which I'm creating, Helloworld2, instead of on the ClassType.

Tom Bousso <tbousso>

 

(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

 

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

    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
    Sat 23 Apr 2016 05:14:48 AM UTCbothnerOpen/ClosedOpen=>Closed
    Fri 08 Apr 2016 05:17:23 PM UTCbothnerStatusNone=>Invalid
      Assigned toNone=>bothner

    Back to the top


    Powered by Savane 3.1-cleanup1