Mark Smith was concerned we might not handle this case correctly. It seems we do in fact catch this scenario, so it's not an issue. Yay!
15 lines
208 B
Plaintext
15 lines
208 B
Plaintext
-- main.mcl --
|
|
import "fmt"
|
|
|
|
$y = func($fn) {
|
|
$fn($fn)
|
|
}(
|
|
func($fn) {
|
|
$fn($fn)
|
|
}
|
|
)
|
|
|
|
test [fmt.printf("y: %v", $y),] {}
|
|
-- OUTPUT --
|
|
# err: errUnify: unify error with: param(fn): directly in the same set
|