dbremner / rubydotnetcompiler

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

Redefining base class to a Ruby builtin class causes compiler error #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
## Adapted from IronRuby tests: Runtime\Class\test_change_self.rb

class Foo
end

class Bar < Foo
end

class Bar < Object
end

The above code should raise a TypeError when we try to redefine the base
class of Bar, but instead PERWAPI raises a System.Exception at compile time
(Meta data token is zero!!)

Original issue reported on code.google.com by meaningi...@gmail.com on 30 Aug 2007 at 5:16

GoogleCodeExporter commented 8 years ago

Original comment by meaningi...@gmail.com on 23 Oct 2007 at 5:54