[Mono-bugs] [Bug 692149] New: Named Parameter evaluation order doesn't match spec or MS implementation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 6 00:44:42 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=692149

https://bugzilla.novell.com/show_bug.cgi?id=692149#c0


           Summary: Named Parameter evaluation order doesn't match spec or
                    MS implementation
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.10.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: ivan at chimerical.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; .NET4.0C;
NET4.0E)

Parameters should be evaluated strictly left to right.

Issue:
Named parameters supplied out of order currently aren't evaluated strictly left
to right.
Mixed positional & named parameters, may be evaluated left to right - but might
not match the MS implementation (where named parameters are evaluated first).


Reproducible: Always

Steps to Reproduce:
1. dmcs.exe test.cs
2. test.exe
Actual Results:  
123
213
213
1234
3124

Expected Results:  
Spec compliant
123
123
123
1234
1234

MS compliant (a bug that may be corrected in the future)
231
123
231
3412
3412

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list