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
T
string
fn test_main() { la := 'lalala' a(&la) } fn a[T](t T) { println(t) dump(t) assert *t == 'lalala' }
assert pass
================== C compilation error (from tcc): ============== cc: /tmp/v_1000/tsession_7554c3af8740_01JC4MRAPFVVGF4YF5SR3KV88H/decode_number_and_boolean_test.01JC4MRC05XD661P3CRCKD87YT.tmp.c:24214: error: cannot convert 'struct string *' to 'struct string' =================================================================
error: invalid indirect of `T`, the type `string` is not a pointer
No response
V 0.4.8 31d6c47
Linux
Huly®: V_0.6-21237
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:
No branches or pull requests
Describe the bug
T
, the typestring
is not a pointerReproduction Steps
Expected Behavior
assert pass
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.8 31d6c47
Environment details (OS name and version, etc.)
Linux
Huly®: V_0.6-21237
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: