pull/4057/head
filip mertens 1 year ago
parent 5d6ed35b53
commit 8f5b9243bd
  1. 4
      apps/remix-ide/src/app/plugins/parser/code-parser.tsx

@ -477,7 +477,7 @@ export class CodeParser extends Plugin {
*/
async definitionAtPosition(position: number) {
const nodes = await this.nodesAtPosition(position)
let nodeDefinition = {
const nodeDefinition = {
'ast': null,
'parser': null
}
@ -528,7 +528,7 @@ export class CodeParser extends Plugin {
}
if (nodeDefinition.ast && !nodeDefinition.parser) {
return nodeDefinition.ast
return nodeDefinition.ast
}

Loading…
Cancel
Save