[Mono-bugs] [Bug 73757][Maj] Changed - internal compiler error
leads to unsuccessfull compilation
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jul 29 03:14:42 EDT 2005
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 sumadevi at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73757
--- shadow/73757 2005-03-16 05:09:45.000000000 -0500
+++ shadow/73757.tmp.22858 2005-07-29 03:14:42.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 73757
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: Basic
AssignedTo: mono-bugs at ximian.com
ReportedBy: jwezel at compumaster.de
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -90,6 +90,77 @@
a new assembly and no compiler errors
How often does this happen?
always
Additional Information:
+
+------- Additional Comments From sumadevi at novell.com 2005-07-29 03:14 -------
+Lots of these compiler errors are gone in the newer build.
+But there is a problem with inheritance and protected methods access.
+when a vb program extends from a c# class and it has a protected
+method, the compiler doesnt somehow seem to understand that the method
+is protected and can be used in the vb code.
+Sample code below
+
+cs code
+
+using System;
+
+
+namespace u {
+
+
+ public class ucs {
+
+
+ private string s;
+
+
+ protected string setter
+ {
+ set { s = value;}
+ }
+
+
+ public static void Main()
+ {
+
+
+ }
+
+
+ }
+}
+
+
+vb code
+
+
+Imports system
+Imports u
+
+
+Public class uvb
+ Inherits u.ucs
+
+
+ Public Shared Sub Main()
+ Dim uvbc as uvb = new uvb()
+ uvbc.uu()
+ End Sub
+
+
+ Public Sub uu()
+ Me.setter = "uma"
+
+
+ End Sub
+
+
+
+
+End Class
+
+
+
+
More information about the mono-bugs
mailing list