Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for the class keyword #791

Open
5 of 6 tasks
yorickpeterse opened this issue Dec 24, 2024 · 0 comments
Open
5 of 6 tasks

Remove support for the class keyword #791

yorickpeterse opened this issue Dec 24, 2024 · 0 comments
Labels
compiler Changes related to the compiler
Milestone

Comments

@yorickpeterse
Copy link
Collaborator

yorickpeterse commented Dec 24, 2024

As part of #779 we're introducing the type keyword to replace the class keyword in 0.18.0, while still supporting both. In 0.19.0 we'll drop support for the class keyword entirely.

The following changes need to be made:

  • Remove support for class in inko fmt
  • Remove support for the classes field in idoc in favour of only supporting (and requiring) the types field
  • Remove parser support for the class keyword
  • Remove support for class in the Vim syntax file
  • Remove support for class in the Tree sitter grammar: Remove the "class" keyword nvim-treesitter/nvim-treesitter#7663
  • Remove support for the class keyword in the VS Code grammar: pushed, publishing the changes is pending the release
@yorickpeterse yorickpeterse added the compiler Changes related to the compiler label Dec 24, 2024
@yorickpeterse yorickpeterse added this to the 0.19.0 milestone Dec 24, 2024
yorickpeterse added a commit that referenced this issue Feb 17, 2025
This keyword is replaced with "type" as of 0.18.x and is being removed
as part of 0.19.0.

See #791 for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Changes related to the compiler
Projects
None yet
Development

No branches or pull requests

1 participant