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

Array<Int>.repeat should be error #487

Open
yhara opened this issue Jun 8, 2023 · 0 comments
Open

Array<Int>.repeat should be error #487

yhara opened this issue Jun 8, 2023 · 0 comments
Labels
design About language design error check Missing error checks (invalid codes that won't be warned during compilation)

Comments

@yhara
Copy link
Collaborator

yhara commented Jun 8, 2023

p Array.repeat(" ", 100)  # makes sense
p Array<Int>.repeat(" ", 100)  # does not make sense but works now
@yhara yhara added design About language design error check Missing error checks (invalid codes that won't be warned during compilation) labels Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design About language design error check Missing error checks (invalid codes that won't be warned during compilation)
Projects
None yet
Development

No branches or pull requests

1 participant