| Issue 99: | type parameter inline function error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
inline function call<S>(f:Void->S) {
var ret = f();
return ret;
}
trace(call(function () trace("hello")));
What is the expected output? What do you see instead?
Whilst this seems like it 'should' be wrong, it does work with other haxe targets producing:
hello
null
but in hxcpp gives errors in c++ source about converting from Dynamic to null.
What version of the product are you using? On what operating system?
2,07,0
Mar 17, 2011
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|