Skip to content

Include end marker information in TASTy #12671

Closed
@bishabosha

Description

@bishabosha

Compiler version

3.0.0

Summary

We should think of a way to encode end markers in TASTy, that is preferrably optional.

With #12541 we only need a single boolean to attach to a tree, so it is efficient.
The span of an end marker can then be recomputed from the tree once it is constructed.

options include:

  • custom section (ok if not present)
  • flag (impossible for trees with no symbol, requires TASTy version bump)
  • annotation (awkward for expression trees, requires Scala version bump)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions