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
use fmt
structfoo<T>{val:T}impl<T>(f:foo<T>){fnprint(){printHelper(f)}}fnprintHelper<T>(f:foo<T>){
fmt.Println(f.val)}fnmain(){let f = foo{val:5}
f.print()}
The following borgo code:
generates:
The issue here is that the line that reads
printHelper[any](f)
should readprintHelper[T](f)
.I can't find a way to get borgo to generate compiling Go code for this case.
The text was updated successfully, but these errors were encountered: