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

If a class with namespaces is encoded a ReferenceError is thrown #86

Open
darronschall opened this issue Jul 28, 2010 · 0 comments
Open
Labels

Comments

@darronschall
Copy link
Contributor

Originally filed by fernando.florez on 2009-02-02T01:52:41

What steps will reproduce the problem?

  1. Create a class "Test"
  2. Create a normal property and a "namespaced" property
  3. Compiler will exit because a ReferenceError referring to the
    "namespaced" property

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

Namespaced properties should be ignored.

A fix for this is to add a check:

JSONEncoder.as - Line: #283

if(v.hasOwnProperty("@uri")) continue;

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

No branches or pull requests

1 participant