[haXe] a haxe extern generator
Julien D
jd at e-novations.fr
Sat Feb 17 16:20:32 CET 2007
Hi,
Regarding Delegate, maybe the problem is related with the use of "apply" ?
Julien.
Nicolas Cannasse a écrit :
>> This problem crept up a while ago, as far as I remember, when I try to
>> extend an interface I get a haxe compile error saying I cannot extend an
>> interface
>>
>> e.g.
>>
>> extern interface A {
>> // ...
>> }
>>
>> extern interface B extends A {
>> //..
>> }
>>
>
> You need to use "implements" instead ;)
>
>
>> I will look to implement this. Unfortunately, if I go this route, the
>> default extern output will compile, but since actionscript does not
>> require all parameters, there can be errors in the implementation...
>>
>
> I was thinking that you were just exporting externs classes ?
> The AS implementation does not need to be changed.
>
>
>> myWindow is instantiated and filled with a button, but the
>> addEventListener is not. the addEventListener will use the Delegate
>> class which requires the function createEast as its argument. Maybe I am
>> writing this wrong...
>>
>
> It's possible that the Delegate is called by using a specific method (?)
>
> Nicolas
>
>
--
___________________________________________________________
| |
| Jidé :: Webdesign, Graphisme, PAO, Communication visuelle |
|___________________________________________________________|
| |
| Julien De Luca (fait parti de la CAE coopaname) |
| |
| téléphone :: 06 28 04 58 30 |
| site web :: www.jide.fr |
| email :: contact at jide.fr |
| numéro icq :: 7266709 |
|___________________________________________________________|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070217/21f1c487/attachment.htm
More information about the Haxe
mailing list