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
Wrong message
struct Builder[T] { mut: buf T } pub fn new_builder[F](mut fixed_array F) !Builder[F] { $if F is $array_fixed { return Builder[F]{fixed_array} } $else { return error('fixed_buf need be a fixed array') } } fn main() { mut fixed := [3]u8{} mut sb := new_builder(mut fixed) or { eprintln(err) return } // println(sb) sb.write_string("") }
e.v:21:5: error: unknown method or field: `Builder[[3]u8].write_string` 19 | } 20 | // println(sb) 21 | sb.write_string("") | ~~~~~~~~~~~~~~~~ 22 | } 23 |
or
e.v:21:5: error: unknown method or field: `Builder[F].write_string` 19 | } 20 | // println(sb) 21 | sb.write_string("") | ~~~~~~~~~~~~~~~~ 22 | } 23 |
e.v:21:5: error: unknown method or field: `Builder<F>[[3]u8].write_string` 19 | } 20 | // println(sb) 21 | sb.write_string("") | ~~~~~~~~~~~~~~~~ 22 | } 23 |
No response
V 0.4.3 bf7b29a
Ubuntu
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
checker: optimize error messages for method not exists(fix vlang#20364)
bd99235
checker: optimize error messages for method not exists (fix #20364) (#…
6e95f41
…20380)
Successfully merging a pull request may close this issue.
Describe the bug
Wrong message
Reproduction Steps
Expected Behavior
or
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.3 bf7b29a
Environment details (OS name and version, etc.)
Ubuntu
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: