We also add a backup fix to avoid a panic in case we ever hit a new unification bug that lets something through, we can at least turn it into a runtime issue. This adds a test as well.
6 lines
157 B
Plaintext
6 lines
157 B
Plaintext
-- main.mcl --
|
|
import "fmt"
|
|
test fmt.printf("%d%d", 42) {} # should not pass, missing second int
|
|
-- OUTPUT --
|
|
# err: errUnify: only recursive solutions left
|