In #39, @eregon report:
#39 (comment)
I think he is right here, and I think the function name should be included in the error message, eg:
test("unboundParam") {
val ex = intercept[Exception] {
eval(
"""local newParams(x, y) = {
| x: x,
| y: y,
|};
|
|local params = newParams("a");
|
|params.y
|
""".stripMargin,
useNewEvaluator = useNewEvaluator
)
}
assert(ex.getMessage.contains("Function parameter y not bound in call"))
}
can be Function parameter y not bound in call to function newParams