[Mono-bugs] [Bug 541593] gmcs raise InternalErrorException for partial and generic struct's constructor

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 23 19:41:45 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541593

User saiya.v6 at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=541593#c1


Seiya Yazaki <saiya.v6 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |saiya.v6 at gmail.com




--- Comment #1 from Seiya Yazaki <saiya.v6 at gmail.com>  2009-09-23 17:41:41 MDT ---
But gmcs can successfully compile following code.

namespace SUtils {
    public partial struct STuple<Ta> {    // First partial struct declaration
        private readonly Ta a;
        public STuple(Ta a) { this.a = a; }
    }
    public partial struct STuple<Ta> { }   // Second partial struct declaration
}

It seems that gmcs cannot successfully compile when we locate constructor in
second partial struct declaration.

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


More information about the mono-bugs mailing list