Could you update BlockReplaceInPlace in MutableStrinOps.cs to also use 
RequiresNotFrozenString?

Otherwise looks good!

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Daniele Alessandri
Sent: Thursday, July 16, 2009 1:23 PM
To: [email protected]
Subject: [Ironruby-core] Review: misc fixes to MutableStringOps.cs

Hi,
I pushed a bunch of fixes to my repository. In the end I had to hold back a 
couple of more commits staged in a local branch because I'm still not convinced 
about them, I'll push them in the next few days for a future review.

http://github.com/nrk/ironruby/commit/74c47076ab82f357e58ca604331701cae40a9b6a

>From the commit message:

- Implemented 'V' and 'v' directives for String#unpack.
- Implemented 'B' and 'b' directives for String#unpack.
- Cleared all the failing expectations in core/string related to an unthrown 
TypeError exception when calling in-place methods on frozen strings.

The absence of 'V', 'v', 'B' and 'b' directives in String#unpack was preventing 
me to use the wmainfo-rb gem.

See also the attached diff.

Thanks,
Daniele

--
Daniele Alessandri
http://www.clorophilla.net/blog/
http://twitter.com/JoL1hAHN
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to