Skip to content

Argument of type 'SqlParser' is not assignable to parameter of type 'Parser'. #540

Open
@chengchengpei

Description

I got errors

Argument of type 'PrestoSqlParser' is not assignable to parameter of type 'Parser'.
  Type 'PrestoSqlParser' is missing the following properties from type 'Parser': _errHandler, _input, _precedenceStack, _ctx, and 68 more.

PrestoSqlParser is generated by from antlr4/presto/PrestoSql.g4 by ANTLR 4.9.0-SNAPSHOT

Screenshot 2022-12-18 at 6 56 07 PM

deps:

  "dependencies": {
    "@types/antlr4": "4.7.0",
    "antlr4": "^4.11.0",
    "antlr4-c3": "^2.2.1",
    "antlr4ts": "^0.5.0-alpha.4",
    "assert": "1.5.0"
  },

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions