pull/4055/head
filip mertens 1 year ago committed by Aniket
parent 04ee680b8c
commit b38655f0eb
  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