Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the wildcard Object type of '*' fails to parse #3

Open
cedoucette opened this issue Oct 5, 2017 · 0 comments
Open

Using the wildcard Object type of '*' fails to parse #3

cedoucette opened this issue Oct 5, 2017 · 0 comments

Comments

@cedoucette
Copy link

This line of ActionScript:
public function get(key : *) : LoadingItem{

Causes this error:
/Users/doucettec/.nvm/versions/node/v6.9.4/lib/node_modules/as3-to-typescript/lib/parser.js:480
throw new Error('unexpected token : ' + this.tok.text + '(' + pos.line + ',' + pos.col + ')' + ' in file ' + this.fileName + 'expected: ' + text);
^

Error: unexpected token : key(1177,28) in file BulkLoader.asexpected: (

According to this page, the wildcard Object type of '*' is ok:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7f88.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7fda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant