Confusing type name of struct literal is inferred when it's passed to generic function #9339
Labels
stage1
The process of building from source via WebAssembly and the C backend.
Milestone
output:
While this seems wrong, it's actually the correct behaviour according to the documentation:
So I think the type name inference rule needs some tweaking. In the example above, a more reasonable output could be something like
Foo(struct:xx:xx)
andstruct:xx:xx
.The text was updated successfully, but these errors were encountered: