Skip to content

Type.FSharpName bug: can't handle generic type definiations #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
For example,

> [3].GetType().GetGenericTypeDefinition().FSharpName;;
System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Text.RegularExpressions.Regex.Match(String input)
   at FSI_0038.Swensen.RegexUtils.|CompiledMatch|_|(String pattern, String str) in C:\Users\Stephen\Documents\Visual Studio 2010\Projects\Unquote\Unquote\RegexUtils.fs:line 28
   at FSI_0040.Swensen.Unquote.Sprint.sprintSig@169-20(Int32 context, Type t) in C:\Users\Stephen\Documents\Visual Studio 2010\Projects\Unquote\Unquote\Sprint.fs:line 172
   at FSI_0040.Swensen.Unquote.Sprint.sprintSig@169-20(Int32 context, Type t) in C:\Users\Stephen\Documents\Visual Studio 2010\Projects\Unquote\Unquote\Sprint.fs:line 186
   at <StartupCode$FSI_0058>.$FSI_0058.main@()
Stopped due to error

Original issue reported on code.google.com by stephen....@gmail.com on 17 Feb 2011 at 3:48

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions