Skip to content

Parse errors in metaprograms have the wrong file offsets #1964

Closed
@isovector

Description

@isovector

The wingman metaprogram parser will give you line/column errors in the event of a bad parse. But these are relative to the start of the metaprogram, not relative to the containing file. Easy to fix; just add the containing source span before printing them out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: wingmantype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions