dbremner / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
0 stars 0 forks source link

Attribute getter always returns nil #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Test case:

  class C
    attr :v
    def initialize
      @v = 1
    end
  end
  puts C.new.v

Expected:

  1

Actual:

  nil

Original issue reported on code.google.com by sason...@gmail.com on 16 Oct 2007 at 7:31

GoogleCodeExporter commented 8 years ago
This is a regression. SVN r121 works fine. r122 commit is too big to pinpoint 
where
it went wrong...

Original comment by sanxiyn on 17 Oct 2007 at 6:18

GoogleCodeExporter commented 8 years ago
Upping priority due to Seo Sanghyeon's observation that "any :attr suddenly 
returning
nil breaks a lot of Ruby code".

Original comment by sason...@gmail.com on 17 Oct 2007 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by meaningi...@gmail.com on 18 Oct 2007 at 2:06