[Mono-bugs] [Bug 576342] Code involving type instantiation in attributes throws at runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 14 18:14:36 EDT 2010



Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Rodrigo Kumpera <rkumpera at novell.com> 2010-04-14 22:14:35 UTC ---
F# violates the ECMA spec for how to encode type names. In the above sample
List<C1> in encoded in the cattr blob like this:

FSharp.Core, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 

Note that the first parameter of FSharpList is
"[Test+TestTypeInstantiationsInAttributes+C1]". This is wrong. ECMA states that
if the type is enclosed in '[]' it MUST be an assembly-qualified name.

Fixed trunk in r155438 and 2-6 in r155439.

Configure bugmail: http://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