V version: 0.1.29 9b171b7
OS: Windows 10 v2004
What did you do?
struct St<T> {
}
fn main() {
_ := new<int>()
}
fn new<T>() St<T> {
return St<T>{}
}
What did you expect to see?
Nothing, this should compiler and run
What did you see instead?
The compiler panicked (see https://im.farfrom.world/dvzekithsj.png)
hmm, for me, on the latest commit of V compiled and ran it without any problems
hmm, for me, on the latest commit of V compiled and ran it without any problems
Looks like github stripped some of my code... https://im.farfrom.world/irkpvnywxb.png
Try running this: https://hst.sh/ikobaciquj.cpp
Use triple backticks and newlines for correct formatting.