script\core\guide.lua:1652: attempt to index a nil value (local 'source')
stack traceback:
script\vm\eachDef.lua:33: in function 'vm.vm.getDefs'
script\core\module-import.lua:194: in function 'core.module-import.getAbsoluteRequireArg'
script\core\module-import.lua:294: in function 'core.module-import.findPotentialImportsSorted'
script\core\code-action.lua:205: in upvalue 'solveSuggestedImport'
script\core\code-action.lua:426: in upvalue 'solveDiagnostic'
script\core\code-action.lua:447: in upvalue 'checkQuickFix'
script\core\code-action.lua:648: in function 'core.code-action'
script\provider\provider.lua:740: in function <script\provider\provider.lua:730>
[C]: in function 'xpcall'
script\proto\proto.lua:143: in function <script\proto\proto.lua:122>
[Error - 00:30:26] Request textDocument/codeAction failed.
Message: [00:30:26.409][error][#0:script\vm\eachDef.lua:33]: script\core\guide.lua:1652: attempt to index a nil value (local 'source')
stack traceback:
script\vm\eachDef.lua:33: in function 'vm.vm.getDefs'
script\core\module-import.lua:194: in function 'core.module-import.getAbsoluteRequireArg'
script\core\module-import.lua:294: in function 'core.module-import.findPotentialImportsSorted'
script\core\code-action.lua:205: in upvalue 'solveSuggestedImport'
script\core\code-action.lua:426: in upvalue 'solveDiagnostic'
script\core\code-action.lua:447: in upvalue 'checkQuickFix'
script\core\code-action.lua:648: in function 'core.code-action'
script\provider\provider.lua:740: in function <script\provider\provider.lua:730>
[C]: in function 'xpcall'
script\proto\proto.lua:143: in function <script\proto\proto.lua:122>
Code: -32603
Title explains it. When something is linted with "suggested import" this happens.
Title explains it. When something is linted with "suggested import" this happens.