[Ironruby-core] local variables: Ruby vs. IronRuby difference?

Jim Deville jdeville at microsoft.com
Thu Jan 8 20:50:10 EST 2009


I'll be pushing it out tonight.

JD

-----Original Message-----
From: Tomas Matousek <Tomas.Matousek at microsoft.com>
Sent: January 08, 2009 5:28 PM
To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org>
Cc: Jim Deville <jdeville at microsoft.com>
Subject: RE: [Ironruby-core] local variables: Ruby vs. IronRuby difference?


I fixed this a couple days ago. Don't know whether it has already been pushed out. Jim?

Tomas

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alex 2k8
Sent: Thursday, January 08, 2009 4:53 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] local variables: Ruby vs. IronRuby difference?

Hello,


Ruby:

  irb(main):001:0> foo = 3
  => 3
  irb(main):002:0> foo
  => 3

IronRuby:

  >>> foo = 3
  => 3
  >>> foo
  :0: undefined method `foo' for main:Object (NoMethodError)


Any idea, why this error thrown by IronRuby?

- Alex
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list