eden can not deserialize a single digit
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. var src:String = eden.serialize( "1" );
2. trace( src ); //undefined
What is the expected output? What do you see instead?
expected: "1"
result: "undefined"
yeah lame bug, I'll fix it like ... right now!
Original issue reported on code.google.com by zwetan
on 9 Aug 2009 at 9:37
GoogleCodeExporter commented
oups the bug is about deserialize() not serialize()
What steps will reproduce the problem?
1. var result:* = eden.deserialize( "1" );
2. trace( result ); //undefined
What is the expected output? What do you see instead?
expected: 1 //as a number
result: undefined //soemthing went wrong
Original comment by zwetan
on 9 Aug 2009 at 9:41
- Changed title: eden can not deserialize a single digit
GoogleCodeExporter commented
fixed, now we have a source equals 1 char safe check
Original comment by zwetan
on 9 Aug 2009 at 10:28
- Changed state: Fixed