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