-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
compiler bug: compiler confused by function called vbytes() calling array.vbytes() #12610
Comments
|
|
byte is an alias for u8 now, and it is also deprecated. Since it is deprecated, I don't see any reason to make this work for byte type. However, even changing
The line in question is return sb[0..sb.len].vbytes().str() |
Yes. This failure is being treated in another PR which I have submitted. |
We must fix this case... since byteptr_vbytes has 2 params. |
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg bug.v
What did you expect to see?
no crash
What did you see instead?
The text was updated successfully, but these errors were encountered: