[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

Re: YAML.load({[]=>""}.to_yaml)

From: "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date: 2006-01-13 10:40:22 UTC
List: ruby-core #7135
Hi.

>I found that current YAML doesn't round trip {[]=>""}.
>
>% ./ruby -v -ryaml -e 'p YAML.load({[]=>""}.to_yaml)'
>ruby 1.9.0 (2006-01-10) [i686-linux]
>/home/akr/ruby/lib/ruby/1.9/yaml.rb:133:in `load': syntax error on line 2, col 1: `: ""' (ArgumentError)
>        from /home/akr/ruby/lib/ruby/1.9/yaml.rb:133:in `load'
>        from -e:1
>
>ruby-1.8.2 works well.
>
>% ruby-1.8.2 -v -ryaml -e 'p YAML.load({[]=>""}.to_yaml)' 
>ruby 1.8.2 (2004-12-25) [i686-linux]
>{[]=>""}
>-- 
>Tanaka Akira


E:\>ruby -v -ryaml -e "puts YAML.dump({[]=>''})"
ruby 1.8.4 (2005-12-24) [i386-bccwin32]
---
[]
: ""


This YAML cannot be loaded. But

---
? []
: ""

can be loaded. (I don't know how to fix it... tell the syck [] is complex key?)



In This Thread