Issue 77: use of undefined type
Status:  Fixed
Owner: ----
Closed:  Jan 2011
Reported by michaelbaczynski@gmail.com, Oct 28, 2010
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
Fixed on SVN
Status: Fixed