[Mono-bugs] [Bug 75896][Nor] 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 11:14:22 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 rharinath at novell.com.

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

--- shadow/75896	2005-08-24 10:13:25.000000000 -0400
+++ shadow/75896.tmp.16203	2005-08-24 11:14:22.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75896
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -49,6 +49,12 @@
 struct_setter.cs(15,3): error CS0131: The left-hand side of an assignment
 must be a variable, property or indexer
 
 How often does this happen? 
 
 consistently.
+
+------- 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.
+


More information about the mono-bugs mailing list