You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceSome {}
structFoo {
name Some
}
a:= Foo{}
println(a)
Expected Behavior
No runtime error
Current Behavior
Output:
/tmp/v_60000/code.17284851134424006581.tmp.c:2180: at indent_main__Some_str: RUNTIME ERROR: invalid memory access
/tmp/v_60000/code.17284851134424006581.tmp.c:2167: by indent_main__Foo_str
/tmp/v_60000/code.17284851134424006581.tmp.c:2158: by main__Foo_str
/tmp/v_60000/../../../../../../box/code.v:8: by main__main
/tmp/v_60000/../../../../../../tmp/v_60000/code.17284851134424006581.tmp.c:17332: by main
Exited with error status 255
Describe the bug
Code: https://vosca.dev/p/8cba48032c
Expected Behavior
No runtime error
Current Behavior
Output:
Reproduction Steps
Run code above
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.3.4 fc4c431.45f16a2
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: