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

[Feature] Default value of generics parameter #718

Closed
taichi-ishitani opened this issue May 13, 2024 · 0 comments · Fixed by #726
Closed

[Feature] Default value of generics parameter #718

taichi-ishitani opened this issue May 13, 2024 · 0 comments · Fixed by #726
Labels
lang Language design

Comments

@taichi-ishitani
Copy link
Contributor

I think it would be nice generics parameters have their default value like parameter.

function foo::<W = 2> -> logic<W> {
}
@dalance dalance added the lang Language design label May 13, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 17, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 17, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 17, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 18, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 18, 2024
taichi-ishitani added a commit to taichi-ishitani/veryl that referenced this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang Language design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants