[Mono-bugs] [Bug 82652][Wis] Changed - static class test : System.Object {}
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Sep 1 01:54:18 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by zac at zacbowling.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82652
--- shadow/82652 2007-09-01 01:49:37.000000000 -0400
+++ shadow/82652.tmp.12413 2007-09-01 01:54:18.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 82652
Product: Mono: Compilers
Version: 1.2
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: sanxiyn at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -25,6 +25,24 @@
How often does this happen?
Additional Information:
Am lazy.
Offender:
http://ironruby.rubyforge.org/svn/trunk/src/ironruby/Builtins/TrueClass.cs
+
+------- Additional Comments From zac at zacbowling.com 2007-09-01 01:54 -------
+<sanxiyn> static class test : System.Object {}
+<sanxiyn> test.cs(1,14): error CS0713: Static class `test' cannot
+derive from type `object'. Static classes must derive from object
+<zbowling> hmm
+<sanxiyn> Removing ": System.Object", of course, makes it work.
+<sanxiyn> The offender is:
+http://ironruby.rubyforge.org/svn/trunk/src/ironruby/Builtins/TrueClass.cs
+<zbowling> sanxiyn, does it work on ms.net?
+<zbowling> i guess it does
+<zbowling> file a bug
+<sanxiyn> zbowling: Apparently, if IronRuby folks have it in their
+codebase...
+...
+<zbowling> then tis a bug
+<sanxiyn> zbowling: Remember, static classes must derive from object. :(
+<sanxiyn> (Which makes whole things a bit stupid.)
More information about the mono-bugs
mailing list