emjay050410 / as3corelib

Automatically exported from code.google.com/p/as3corelib
1 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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;

Original issue reported on code.google.com by fernando...@gmail.com on 2 Feb 2009 at 1:52