Skip to content

Instantly share code, notes, and snippets.

@back2dos
Created September 2, 2012 16:41
Show Gist options
  • Save back2dos/3601314 to your computer and use it in GitHub Desktop.
Save back2dos/3601314 to your computer and use it in GitHub Desktop.
workaround
package;
import tink.lang.Cls;
class Foo<T> {
public var owner:T;
public function new() {
}
}
class Param {
}
class Main<T> implements Cls {
@:forward public var foo:Foo<T>;
@:prop(foo.owner, foo.owner = param) var owner:T;
public function new() {
}
public static function main():Void {
var main = new Main<Param>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment