You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FSC: error : Global error 'The exception has been reported. This internal exception should now be caught at an error recovery point on the stack. Original message: ImportILTypeRef: unexpected local scopeDb.fs (67,22--67,57) IsSynthetic=false)' at at Microsoft.FSharp.Compiler.ErrorLogger.ErrorLoggerExtensions.ErrorLogger.Error[b](ErrorLogger x, Exception exn)
at Microsoft.FSharp.Compiler.Import.ImportTypeRefData(ImportMap env, range m, ILScopeRef scoref, String[] path, String typeName)
at Microsoft.FSharp.Compiler.Import.ImportILTypeRefUncached(ImportMap env, range m, ILTypeRef tref)
at Microsoft.FSharp.Compiler.Import.ImportILTypeRef(ImportMap env, range m, ILTypeRef tref)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvILCall(cenv cenv, ExprTranslationEnv env, Boolean isNewObj, ValUseFlag valUseFlags, ILMethodRef ilMethRef, FSharpList`1 enclTypeArgs, FSharpList`1 methTypeArgs, FSharpList`1 callArgs, range m)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprPrim(cenv cenv, ExprTranslationEnv env, Expr expr)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvLetBind(cenv cenv, ExprTranslationEnv env, Binding bind)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprPrimLinear(cenv cenv, ExprTranslationEnv env, Expr expr, FSharpFunc`2 contf)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprPrim(cenv cenv, ExprTranslationEnv env, Expr expr)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExprConvert.ConvExprOnDemand@1039.Invoke(Unit unitVar0)
at Microsoft.FSharp.Compiler.SourceCodeServices.FSharpExpr.get_E()
at Microsoft.FSharp.Compiler.SourceCodeServices.BasicPatterns.|Let|_|(FSharpExpr e)
at WebSharper.Compiler.FSharp.CodeReader.scan@1141(Environment env, String containingMethodName, Dictionary`2 vars, List`1 quotations, FSharpExpr expr)
at WebSharper.Compiler.FSharp.CodeReader.scanExpression(Environment env, String containingMethodName, FSharpExpr expr)
at WebSharper.Compiler.FSharp.ProjectReader.transformClass(Lazy`1 sc, Compilation comp, ResolveFuncArgs ac, SymbolReader sr, Dictionary`2 classAnnots, TypeAnnotation parentAnnot, FSharpEntity cls, List`1 members)
at WebSharper.Compiler.FSharp.ProjectReader.transformClass(Lazy`1 sc, Compilation comp, ResolveFuncArgs ac, SymbolReader sr, Dictionary`2 classAnnots, TypeAnnotation parentAnnot, FSharpEntity cls, List`1 members)
at WebSharper.Compiler.FSharp.ProjectReader.transformAssembly@1072-3.Invoke(FSharpImplementationFileContents file)
at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc`2 action, IEnumerable`1 source)
at WebSharper.Compiler.FSharp.ProjectReader.transformAssembly(Compilation comp, String assemblyName, FSharpCheckProjectResults checkResults)
at WebSharper.Compiler.FSharp.WebSharperFSharpCompiler.Compile(Task`1 prevMeta, String[] argv, String path, String assemblyName)
at WebSharper.FSharp.Program.Compile$cont@97-1(WsConfig config, String thisName, WebSharperFSharpCompiler compiler, FSharpList`1 paths, AssemblyResolver aR, Unit unitVar)
at WebSharper.FSharp.Program.Compile$cont@59(WsConfig config, WarnSettings warnSettings, String thisName, Unit unitVar)
at WebSharper.FSharp.Program.compileMain$cont@212(String[] argv, Unit unitVar)
at WebSharper.FSharp.Program.main(String[] argv)
So this is in the part of the compiler that goes through server-side code to look for quotations to compile. I think we should catch this and show a warning.
The text was updated successfully, but these errors were encountered:
Somehow this issue disappeared after deleting bin and obj and recompiling. I'll leave this issue open because I'd still like to investigate what caused it in the first place some time.
Stack trace:
So this is in the part of the compiler that goes through server-side code to look for quotations to compile. I think we should catch this and show a warning.
The text was updated successfully, but these errors were encountered: