fun methodWith1Param(self: int, param: int) { } fun main() { val x = 10; x.methodWith1Param(2, "asdf"); } /** @compilation_should_fail @stderr too many arguments in call to `methodWith1Param`, expected 1, have 2 */