Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 18 by
crowde...@gmail.com: as3hx struggles with object literals
containing comments
http://code.google.com/p/caffeine-hx/issues/detail?id=18
What steps will reproduce the problem?
1. Run as3hx on the following source program:
package {
public class Foo {
private static var objlit:Object = {
//
"stuff": 42
};
public function Foo() {
}
}
}
2. Observe crash
3. Compile again with the following:
package {
public class Foo {
private static var objlit:Object = {
"stuff": 42
};
public function Foo() {
}
}
}
4. Observe success!
What is the expected output? What do you see instead?
class Foo {
static var objlit : Dynamic = {
stuff : 42
};
public function new() {
}
}
What version of the product are you using? On what operating system?
Using as3hx on cygwin/Windows 7.
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings