|
From: | Per Bothner |
Subject: | [Bug-kawa] [bug #37456] colon notation and calling a static method though an instance |
Date: | Fri, 08 Apr 2016 17:31:07 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Update of bug #37456 (project kawa): Status: None => Wont Fix _______________________________________________________ Follow-up Comment #1: I see no need for colon notation to support thi. It would add inconsistancy and ambiguity to a syntax that is already heavily overloaded. There are alternate syntaxes you can use. For example the invoke pseudo-function allows calling a static method on an instance: #|kawa:1|# (define d ::java.lang.Double (java.lang.Double 3.1)) #|kawa:2|# (invoke d 'valueOf 12) 12.0 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37456> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |