Why not to add Range constructor w/o CodeContext instead? The context is used 
only to compare bounds. Does YAML actually invoke <=> method when constructing 
range?

Tomas

-----Original Message-----
From: Oleg Tkachenko
Sent: Friday, June 27, 2008 5:01 PM
To: IronRuby External Code Reviewers
Cc: [email protected]
Subject: Code Review: YamlRange


tfpt review "/shelveset:YamlRange;REDMOND\olegtk"
Comment  :
  Fixes Range support: implements taguri() and loading Range object from yaml.
  Changes constructors to hold a reference to a code context instead of 
EqualityComparer (Range constructors wants it).

--
Oleg
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to