We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Run
vim9script class Conflict var l: list<string> = [] endclass var o = Conflict.new() echo o.l->add(123)
and see output
[123]
Should get an error like
E1013: Argument 2: type mismatch, expected string but got number
9.1.516
linux/gtk3
No response
The text was updated successfully, but these errors were encountered:
Correctly assign the member declared types
1aadc4e
Ensure the generated typevals get the declared type and generate typechecks to ensure that's the case. Closes vim#15090
Successfully merging a pull request may close this issue.
Steps to reproduce
Run
and see output
Expected behaviour
Should get an error like
Version of Vim
9.1.516
Environment
linux/gtk3
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered: