Ticket #1620 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

doesn't recognize octal number

Reported by: baoti Owned by: esilkensen
Priority: major Milestone:
Component: esilkensen/yaml.plt Keywords:
Cc: Version:
Racket Version:

Description

> (string->yaml "octal: 0o14")
'#hash(("octal" . "0o14"))
> (string->yaml "hexadecimal: 0xC")
'#hash(("hexadecimal" . 12))

See:  Example 2.19. Integers

Change History

Changed 10 years ago by baoti

  • owner changed from Dima_ to esilkensen
  • component changed from Dima_/Tray.plt to esilkensen/yaml.plt

Changed 10 years ago by esilkensen

  • status changed from new to closed
  • resolution set to fixed

Fix pushed to github. Octal literals begin with a leading 0 instead of 0o:

> (string->yaml "014")
'#hash(("octal" . 12))
Note: See TracTickets for help on using tickets.