waneck / testrepo

0 stars 0 forks source link

Issue 1841 - hxcpp problem with interface having dynamic member - haxe #1841

Open waneck opened 11 years ago

waneck commented 11 years ago

[Google Issue #1841 : http://code.google.com/haxe/issues/detail?id=1841] by david.el...@gmail.com, at 2013-05-22T15:12:27.000Z Hi folks,

The cpp targets look to have difficulties with the dynamic + void return

This works in regular haxe/neko but not in hxcpp. This issue is very hard to find out and avoid. We use that kind of things to stub native code.

interface Tree{ public dynamic function done():Void; }

class Main implements Tree { static function main() { trace('ah'); }

public dynamic function done():Void {

} }

Thanks for your consideration.

waneck commented 11 years ago

[comment from si...@haxe.org, published at 2013-05-22T15:16:48.000Z] This compiles fine for me. What version of haxe and hxcpp are you on? What are the build parameters? What error do you actually get?

waneck commented 11 years ago

[comment from si...@haxe.org, published at 2013-05-23T10:21:44.000Z]