Missing byval in fun literal inside passed-by-value types