X Tutup
Skip to content

AST.toString() === 'AST'? #1949

@matthewjh

Description

@matthewjh

Is there any particular reason why subclasses of AST do not override the 'abstract' AST implementation of toString?

For this reason, change detection errors that use ProtoRecord#expressionAsString, which is derived from bindingRecord.ast.toString() throw unhelpful, garbage errors like this:

Expression 'AST' has changed after it was checked. Previous value: ''. Current value: ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup