[Ironruby-core] SVN r114 is out

Dino Viehland dinov at exchange.microsoft.com
Thu Jun 12 23:21:00 EDT 2008

StringReader defines dispose(bool disposing) and inherits dispose() from TextReader.  So it’s either that dispose(bool) is completely hiding the inherited dispose or the overload resolution is completely broken – probably the former.  It’s probably related to exposing protected members to everyone or just some bug in filtering protected members out.

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Thursday, June 12, 2008 8:08 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] SVN r114 is out

What could be wrong here?

  def using(o)
      yield if block_given?

This code worked until rev.113 but now it tells me :

>>> $sr = StringReader.new('Hello, world')
=> #<System::IO::StringReader:0x0000060>
>>> $sr.dispose
:0:in `Initialize': wrong number or type of arguments for `dispose' (ArgumentError)


On Fri, Jun 13, 2008 at 2:49 PM, John Lam (IRONRUBY) <jflam at microsoft.com<mailto:jflam at microsoft.com>> wrote:

This update contains the code we demo'd at RailsConf, and a few improvements that we've made since then.

If you rake compile this build, it will generate an ir.cmd file for you in the build\debug directory. The rakefile now looks for your MRI install (by searching your PATH for ruby.exe). If you have your build\debug directory on your path, this file will run correctly.

You will see a bunch of warnings when compiling. We know about these, and will fix them soon (it's the DLR folks deprecating a bunch of old APIs).

I've also added a RubyTestKey.snk file which contains a public key. Our assemblies are delay-signed using this key, and you must enable skip verification to run the assemblies on your dev machine. You'll need to run the runfirst.cmd file in svn\trunk to turn on skip verification for assemblies signed using our public key.

This should simplify some of the SIGN flag problems, although it introduces a new set of problems around signing if you want to distribute the signed assemblies. Unfortunately, we had to enable signing on external builds because there's some bug that only occurs when running an unsigned build. We're investigating this now.



Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080612/ead5e24b/attachment-0001.html>

More information about the Ironruby-core mailing list