pull/5370/head
filip mertens 1 year ago committed by Aniket
parent 7f8ff74e73
commit 8ead13bd59
  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) { async definitionAtPosition(position: number) {
const nodes = await this.nodesAtPosition(position) const nodes = await this.nodesAtPosition(position)
let nodeDefinition = { const nodeDefinition = {
'ast': null, 'ast': null,
'parser': null 'parser': null
} }
@ -528,7 +528,7 @@ export class CodeParser extends Plugin {
} }
if (nodeDefinition.ast && !nodeDefinition.parser) { if (nodeDefinition.ast && !nodeDefinition.parser) {
return nodeDefinition.ast return nodeDefinition.ast
} }

Loading…
Cancel
Save