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 204: Returning Dynamic in Void methods generates C++ compilation error
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jan 2013


 
Reported by Mihai...@gmail.com, Nov 6, 2012
Using this method:

function test():Void
{
      var ret:Dynamic = null;
      return ret;
}

one does not get a Haxe error, but gets C++ compilation error.
Nov 17, 2012
#1 SamBatis...@gmail.com
I feel like supporting this feature is supporting really bad programming practice.
Jan 15, 2013
Project Member #2 si...@haxe.org
This is no longer valid haxe code.
Status: Invalid

Powered by Google Project Hosting