Skip to content

Some parts of syntax nodes are still typed writable #623

Description

We did https://github.com/Azure/cadl-azure/issues/625, but we still have some writable properties, for example:

  • parent
  • Also Sym needs to be deeply readonly too since it hangs off of syntax nodes. We will need to be able reuse the result of binding too.

As we keep growing the amount of work we do in the language server, it will be important to reuse syntax trees (https://github.com/Azure/cadl-azure/issues/619), and it will be important that we have some type checking that you're not mutating them outside of binding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions