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 66: Dynamic string property access throwing errors
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jan 2011


 
Reported by waneck, Sep 28, 2010
What steps will reproduce the problem?
try to compile the following code:

	public static function main(): Void
	{
		var x = [new Hash<String>()];
		trace(x[0].get("a").length);
	}

What is the expected output? What do you see instead?
The code is expected to compile. It will instead halt with error:
error: 'class Dynamic' has no member named 'length' 

What version of the product are you using? On what operating system?
hxcpp latest svn; mac os x 10.5


Please provide any additional information below.


Jan 17, 2011
Project Member #1 gameh...@gmail.com
Fixed on svn.
Status: Fixed

Powered by Google Project Hosting