Skip to content

Positions and non-Expr stuff #20

@mcheshkov

Description

@mcheshkov

I've find that it's really awkward to work with position-related stuff on everything other that Expr. I.e. check style for A->B->C notation of ComplexType, but there's no position information. So one have to infer all that from some higher level position, for EVar i.e. And, since ComplexType is recursive it really means to parse again some part of source.

My proposition is to add Position to more parts of AST. But that means to break compatibility with haxe.macro types and with ocaml AST. I can implement this, in a case.

Metadata

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