[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bugs #8577] Extraneous warnings in method invokation
From: |
anonymous |
Subject: |
[Bug-kawa] [bugs #8577] Extraneous warnings in method invokation |
Date: |
Wed, 14 Apr 2004 22:40:22 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040130 Firebird/0.7 |
This mail is an automated notification from the bugs tracker
of the project: Kawa.
/**************************************************************************/
[bugs #8577] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8577>
Project: Kawa
Submitted by: 0
On: Thu 04/15/04 at 02:40
Category: Scheme language
Severity: 5 - Average
Item Group: Bad diagnostic
Resolution: None
Assigned to: None
Status: Open
Summary: Extraneous warnings in method invokation
Original Submission: Kawa does not pick out the overloaded method to invoke at
compile time. This results in some errors and run time method look up.
(define-namespace timestamp "class:java.sql.Timestamp")
(define (foo a b)
(timestamp:compareTo (as <java.sql.Timestamp> a)
(as <java.sql.Timestamp> b)))
gives this warning:Bar.scm:13:4: warning - more than one definitely applicable
method `compareTo' in java.sql.Timestamp
Bar.scm:13:4: warning - candidate: int java.util.Date.compareTo(java.util.Date)
Bar.scm:13:4: warning - candidate: int
java.sql.Timestamp.compareTo(java.lang.Object)
Bar.scm:13:4: warning - candidate: int
java.sql.Timestamp.compareTo(java.sql.Timestamp)
Thanks,
Chris Dean
Compile this code:
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bugs #8577] Extraneous warnings in method invokation,
anonymous <=