Open enghitalo opened 5 days ago
t should already be de-referenced, right?
t
fn test_main() { la := 'lalala' a(&la) } fn a[T](t &T) { println(t) dump(t) assert *t == 'lalala' }
checker error in assert *t == 'lalala'
assert *t == 'lalala'
assert pass
No response
V 0.4.8 31d6c47
Linux
[!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.
[!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.
Huly®: V_0.6-21239
Would works, I guess
fn test_main() { la := 'lalala' la2 := &la la3 := &la2 a(la3) } fn a[T](t &T) { println(t) dump(t) assert *t == 'lalala' }
Describe the bug
t
should already be de-referenced, right?Reproduction Steps
Expected Behavior
checker error in
assert *t == 'lalala'
Current Behavior
assert pass
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-21239