We'd like to pre-compute the interpolation if we can, so that we can run this code properly... For now, we can't so it's a compile time error... Hopefully we can remove this restriction in the future. The problem is the string must be a constant, or it would be possible to switch it from "%d %s" to "%s %d %d" or anything that changes the type signature.
2 lines
122 B
Plaintext
2 lines
122 B
Plaintext
# err: err3: polymorphic signatures for func `fmt.printf` could not be found: could not determine type from format string
|