[haXe] typedef syntax for multiple extends / implements?

Zjnue Brzavi zjnue.brzavi at googlemail.com
Mon Jan 8 23:14:21 CET 2007


Hello

I'm trying to define a typedef that extends one class and implements
another interface. If possible, please advise on the syntax.

typedef Test = {
	> Button,
	public function foo() :Void;
} // works

typedef Test = {
	> Button,
	> ISelectable
} // does not work - I'd like to achieve this one..

Many thanks

Zjnue



More information about the Haxe mailing list