longsleep / as3-commons

Automatically exported from code.google.com/p/as3-commons
1 stars 1 forks source link

Can't create class members of type Vector.<T> #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
var packageBuilder : IPackageBuilder = abcBuilder.definePackage( "com.example" 
);
var classBuilder : IClassBuilder = packageBuilder.defineClass("TriggeredBy");
classBuilder.defineAccessor("prop","__AS3__.vec.Vector.<String>");
//BOOM!
classBuilder.defineAccessor("prop","Vector.<String>");
//BOOM!

What is the expected output? What do you see instead?

I want to create accessors for a property of type Vector.<String>

I get :
VerifyError: Error #1014: Class __AS3__.vec.Vector::<String> could not be found.

What version of the product are you using? On what operating system?
Flex SDK 4.5.1/4.6 on MacOs X 10.8.2

Please provide any additional information below.

Original issue reported on code.google.com by ndalp...@gmail.com on 1 Mar 2013 at 4:57