[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
http://bugzilla.novell.com/show_bug.cgi?id=576342
http://bugzilla.novell.com/show_bug.cgi?id=576342#c2
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:
Microsoft.FSharp.Collections.FSharpList`1[[Test+TestTypeInstantiationsInAttributes+C1]],
FSharp.Core, Version=2.0.0.0, 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