summaryrefslogtreecommitdiff
path: root/test/files/neg/t5091.check
blob: abd24e31451041e6a466eaa9ba2ef2c0cc730dc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
t5091.scala:8: error: recursive value xxx needs type
    val param = bar(xxx)
                    ^
t5091.scala:7: warning: type-checking the invocation of method foo checks if the named argument expression 'param = ...' is a valid assignment
in the current scope. The resulting type inference error (see above) can be fixed by providing an explicit type in the local definition for param.
    val xxx = foo(param = null)
                        ^
one warning found
one error found