Skip to content

Instantly share code, notes, and snippets.

@Kakadu
Created September 23, 2011 19:37
Show Gist options
  • Save Kakadu/1238249 to your computer and use it in GitHub Desktop.
Save Kakadu/1238249 to your computer and use it in GitHub Desktop.
F# compiler crash
fslex clexer.fsl
compiling to dfas (can take a while...)
361 states
writing output
fsharpc --noframework --nologo --target:library --out:bin/Debug/Lexer.dll --mlcompatibility -r:/usr/lib/fsharp/FSharp.Core.dll -r:/usr/lib/mono/4.0/mscorlib.dll -r:/usr/lib/mono/4.0/System.dll -r:/usr/lib/fsharp/FSharp.PowerPack.dll -r:/usr/lib/fsharp/FSharp.PowerPack.Compatibility.dll -r:/usr/lib/fsharp/FSharp.PowerPack.Build.Tasks.dll LexingStub.fs pretty.fs errormsg.fs cabs.fs cabshelper.fs whitetrack.fs lexerhack.fs \
Tokens.fs clexer.fs Lexer.fs
server error: System.IndexOutOfRangeException: Array index is out of range.
Server stack trace:
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0
warning FS2021: The resident compilation service was not used because a problem occured in communicating with the server.
/media/disk/kakadu/prog/mono/Claret/Lexer/pretty.fs(108,5): warning FS0046: The identifier 'break' is reserved for future use by F#
/media/disk/kakadu/prog/mono/Claret/Lexer/pretty.fs(798,37): warning FS0046: The identifier 'break' is reserved for future use by F#
/media/disk/kakadu/prog/mono/Claret/Lexer/clexer.fsl(61,15): warning FS0193: This expression is a function value, i.e. is missing arguments. Its type is doc -> unit.
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
error FS0193: internal error: Array index is out of range.
Stack Trace
System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
at Microsoft.FSharp.Compiler.Ast+XmlDocCollector.LinesBefore (pos grabPointPos) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.Ast+PreXmlDoc.ToXmlDoc () [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+BindingNormalization.NormalizeBinding (Microsoft.FSharp.Compiler.IsObjExprBinding isObjExprBinding, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SynBinding b) [0x00000] in <filename unknown>:0
at [email protected] (Microsoft.FSharp.Compiler.RecursiveBindingDefnInfo _arg77) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.mapToFreshConsTail[NormalizedRecBindingDefn,RecursiveBindingDefnInfo] (Microsoft.FSharp.Collections.FSharpList`1 cons, Microsoft.FSharp.Core.FSharpFunc`2 f, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Primitives.Basics.List.map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 x) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Collections.ListModule.Map[RecursiveBindingDefnInfo,NormalizedRecBindingDefn] (Microsoft.FSharp.Core.FSharpFunc`2 mapping, Microsoft.FSharp.Collections.FSharpList`1 list) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker.TcLetrec (Microsoft.FSharp.Compiler.OverridesOK overridesOK, Microsoft.FSharp.Compiler.cenv cenv, Microsoft.FSharp.Compiler.TcEnv env, Microsoft.FSharp.Compiler.SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1 binds, range bindsm, range scopem) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.TypeChecker+TcModuleOrNamespaceElement@12748-1.Invoke (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+delay@635[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+catch@629[System.Tuple`3[System.Tuple`2[Microsoft.FSharp.Core.FSharpFunc`2[Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr],Microsoft.FSharp.Collections.FSharpList`1[Microsoft.FSharp.Compiler.Tast+ModuleOrNamespaceExpr]],Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[System.AttributeTargets,Microsoft.FSharp.Compiler.Tast+Attrib]]],Microsoft.FSharp.Compiler.TypeChecker+TcEnv,Microsoft.FSharp.Compiler.TypeChecker+TcEnv]].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00000] in <filename unknown>:0
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment