Hello, I get very odd results with attached code: - - - #<System::Windows::Forms::Form:0x000005c> nil #<System::Windows::Forms::Form:0x000005e> - - - While was expected - - - #<System::Windows::Forms::Form:0x000005c> #<System::Windows::Forms::Form:0x000005c> #<System::Windows::Forms::Form:0x000005e> - - - The ''nil'' is printed by this expression: form = form.test and the test method definition is: class Object def test p self end end The hint: ''form'' variable was set by the script host (SetVariable). I am using DLR-0.9. Thanks, - Alex Attachments: http://www.ruby-forum.com/attachment/3138/snippet.txt -- Posted via http://www.ruby-forum.com/.
Hello, Should I report this as IronRuby bug? - Alex -- Posted via http://www.ruby-forum.com/.
Yes, please. Thanks, Tomas -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alex 2k8 Sent: Friday, January 09, 2009 4:00 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] IronRuby hosting: self becomes nil Hello, Should I report this as IronRuby bug? - Alex -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core