pull/5370/head
filip mertens 3 years ago
parent b22195f0d2
commit fdeb97012a
  1. 3
      libs/remix-core-plugin/src/lib/editor-context-listener.ts
  2. 2
      package.json

@ -74,6 +74,9 @@ export class EditorContextListener extends Plugin {
console.log('compiler loaded') console.log('compiler loaded')
await this.compile() await this.compile()
await this.getAST() await this.getAST()
const a = 'function (){a=4; c.getBook().run.}'
const ast = (SolidityParser as any).parse(a, { loc: true, range: true, tolerant: true })
console.log('BAD AST', ast)
}) })
}) })

@ -323,7 +323,7 @@
"ts-jest": "^27.0.5", "ts-jest": "^27.0.5",
"ts-node": "^7.0.1", "ts-node": "^7.0.1",
"tslint": "~6.0.0", "tslint": "~6.0.0",
"typescript": "^4.7.2", "typescript": "^4.4.3",
"uglify-js": "^2.8.16", "uglify-js": "^2.8.16",
"vm-browserify": "0.0.4", "vm-browserify": "0.0.4",
"watchify": "^3.9.0", "watchify": "^3.9.0",

Loading…
Cancel
Save