| Issue 77: | use of undefined type | |
| 1 person starred this issue and may be notified of changes. | Back to list |
compile source code below, using latest haXe+hxcpp from svn.
compilation fails with error C2027: use of undefined type 'B_obj'
package;
class Main
{
public static function main():Void
{
A; //error C2027: use of undefined type 'B_obj'
}
}
interface Foo<T>
{
function foo():T;
}
class A implements Foo<B>
{
public function new() {}
public function foo():B
{
return new B();
}
}
class B
{
public function new() {}
}
Jan 17, 2011
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|