Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

An exception has been encountered. #25

Open
r-henley opened this issue Nov 28, 2016 · 0 comments
Open

An exception has been encountered. #25

r-henley opened this issue Nov 28, 2016 · 0 comments

Comments

@r-henley
Copy link

It's not complicated, the LUA file that creates this error someplace in it when switching to the file tab:

System.InvalidOperationException: Stack empty.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Stack1.Pop() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseFunctionBody() at LanguageService.Parser.ParseFunctionDef() at LanguageService.Parser.ParseExpression() at LanguageService.Parser.ParseField() at LanguageService.Parser.ParseListElement(ParsingContext context) at LanguageService.Parser.ParseSeparatedList(ParsingContext context) at LanguageService.Parser.ParseTableConstructorArg() at LanguageService.Parser.ParseArgs() at LanguageService.Parser.ParseFunctionCallPrefixp(PrefixExp prefixExp) at LanguageService.Parser.ParsePrefixExp(PrefixExp prefixExp, Boolean parsingFunctionCallStatement) at LanguageService.Parser.ParseExpression() at LanguageService.Parser.ParseListElement(ParsingContext context) at LanguageService.Parser.ParseSeparatedList(ParsingContext context) at LanguageService.Parser.ParseParenArg() at LanguageService.Parser.ParseArgs() at LanguageService.Parser.ParseFunctionCallPrefixp(PrefixExp prefixExp) at LanguageService.Parser.ParsePrefixExp(PrefixExp prefixExp, Boolean parsingFunctionCallStatement) at LanguageService.Parser.ParseStatement() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseFunctionBody() at LanguageService.Parser.ParseGlobalFunctionStatementNode() at LanguageService.Parser.ParseStatement() at LanguageService.Parser.ParseBlock(ParsingContext context) at LanguageService.Parser.ParseChunkNode() at LanguageService.Parser.CreateSyntaxTreeInner(TextReader luaReader) at LanguageService.ParseTreeCache.Get(SourceText sourceText) at LanguageService.Diagnostics.DiagnosticsProvider.GetDiagnostics(SourceText sourceText) at Microsoft.VisualStudio.LanguageServices.Lua.Errors.ErrorTagger.&lt;GetTags&gt;d__7.MoveNext() at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator1.<GetTagsForBuffer>d__38.MoveNext()

I had to uninstall this extension, it is not ready for use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant