PBMCube / as3yaml

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

A negative floating-point number is decoded as a positive floating-point number. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. YAML.decode("num: -10.5") returns 10.5
2.
3.

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

Expected -10.5 but I got 10.5

What version of the product are you using? On what operating system?

AS3YAML_04.swc

Please provide any additional information below.

YAML.decode("num: -10") returns -10.  // -> OK
YAML.decode("num: -10.5") returns 10.5 // -> NG

Original issue reported on code.google.com by wolfgang...@gmail.com on 27 Nov 2008 at 6:59

GoogleCodeExporter commented 9 years ago
Thank you for submitting this bug report.  I've found the issue and fixed it.  
This
fix will be included in the next release, which should occur in about a week.

Original comment by dwischu...@gmail.com on 27 Nov 2008 at 4:53

GoogleCodeExporter commented 9 years ago
This issue has been fixed in the latest release.  The compiled swc and the 
source is
available in the downloads section.  The source is also available in SVN in 
tags/0.4.1

This will be the last release that uses the "old" architecture.  I am removing 
a lot
of classes and interfaces from the lib in attempt to reduce its size.  If you 
happen
to be using any of those classes or interfaces, please uses this tagged 
release.  I
also post this message to the wiki.

Original comment by dwischu...@gmail.com on 15 Dec 2008 at 4:26