support inlay hints inside functions

remake of #759

Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
This commit is contained in:
WebFreak001 2023-12-04 10:40:07 +01:00 committed by Jan Jurzitza
parent b79982d509
commit 2bb03265cc
2 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,7 @@ class AutocompleteParser : Parser
{
if (!currentIs(tok!"{"))
return null;
if (cursorPosition == -1) return super.parseBlockStatement();
if (current.index > cursorPosition)
{
BlockStatement bs = allocator.make!(BlockStatement);

View File

@ -1 +1,2 @@
l ->Point 208
l ->Point 247