[Mono-bugs] [Bug 75896][Cos] Changed - mcs does not report CS0131: struct member on left hand side is incorrectly allowed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 24 12:41:16 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 atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75896

--- shadow/75896	2005-08-24 11:14:22.000000000 -0400
+++ shadow/75896.tmp.17441	2005-08-24 12:41:16.000000000 -0400
@@ -3,13 +3,13 @@
 Version: 1.1
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Normal
+Priority: Cosmetic
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
@@ -55,6 +55,13 @@
 
 ------- Additional Comments From rharinath at novell.com  2005-08-24 11:14 -------
 Hmm, I think the error is that 'new Test ()' is not a variable.  So,
 essentially, MemberAccess.ResolveLValue() should delve deeper if the
 the "accessee" is a struct.
 
+
+------- Additional Comments From atsushi at ximian.com  2005-08-24 12:41 -------
+Ah yes. It is not an error if the left side struct is a variable.
+
+Setting priority as cosmetic since it would really happen in a
+practical code.
+


More information about the mono-bugs mailing list