Issue 137 in as3-commons: Can't create class members of type Vector.<T>

18 views
Skip to first unread message

as3-c...@googlecode.com

unread,
Mar 1, 2013, 11:57:52 AM3/1/13
to as3-commons...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 137 by ndalp...@gmail.com: Can't create class members of type
Vector.<T>
http://code.google.com/p/as3-commons/issues/detail?id=137

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.

--
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

etc

unread,
Mar 1, 2013, 12:43:50 PM3/1/13
to as3-commons...@googlegroups.com
> classBuilder.defineAccessor("prop","__AS3__.vec.Vector.<String>");
> //BOOM!
> classBuilder.defineAccessor("prop","Vector.<String>");
> //BOOM!


Try:

__AS3__.vec::Vector.<String>

Денис Коляко
______________________________________________________________________
e...@etcs.ru | http://etcs.ru/

etc

unread,
Mar 1, 2013, 12:43:50 PM3/1/13
to as3-commons...@googlegroups.com
> classBuilder.defineAccessor("prop","__AS3__.vec.Vector.<String>");
> //BOOM!
> classBuilder.defineAccessor("prop","Vector.<String>");
> //BOOM!


Reply all
Reply to author
Forward
0 new messages