My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 77: use of undefined type
1 person starred this issue and may be notified of changes. Back to list
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

Powered by Google Project Hosting