We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When strings are used as statements, an ArgumentOutOfRange exception is thrown when querying for diagnostics.
To Reproduce
using Loretta.CodeAnalysis.Lua; using Loretta.CodeAnalysis; var parseOptions = new LuaParseOptions(LuaSyntaxOptions.Lua51).WithDocumentationMode(DocumentationMode.Parse); // parse var lorettaAst = LuaSyntaxTree.ParseText(@" ""hello"" ", parseOptions, "test.lua"); foreach (var exc in lorettaAst.GetDiagnostics()) // throws an ArgumentOutOfRange exception here { Console.WriteLine(exc.ToString()); }
Expected behavior A Diagnostic can be retrieved
Additional context Loretta Version: Happens both on 0.2.13-nightly1 and 0.2.12
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Sorry I've been busy I'll take a look at this the coming week.
Sorry, something went wrong.
GGG-KILLER
TheGreatSageEqualToHeaven
No branches or pull requests
Describe the bug
When strings are used as statements, an ArgumentOutOfRange exception is thrown when querying for diagnostics.
To Reproduce
Expected behavior
A Diagnostic can be retrieved
Additional context
Loretta Version: Happens both on 0.2.13-nightly1 and 0.2.12
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: