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

[plan] generic trait #90

Open
CppCXY opened this issue Feb 20, 2025 · 0 comments
Open

[plan] generic trait #90

CppCXY opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@CppCXY
Copy link
Owner

CppCXY commented Feb 20, 2025

grammar like:

---@generic T
---@trait T: string, ref<global>

---@generic T
---@trait T: string, string_fmt

All traits can only be built by language server; they may be extended via plugins in the future.

@CppCXY CppCXY added the enhancement New feature or request label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant