summaryrefslogtreecommitdiff
path: root/test/files/neg/t5091.check
blob: 156f695f41d868fe0b5a2deb244fbc014b14551f (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: failed to determine if 'param = ...' is a named argument or an assignment expression.
an explicit type is required for the definition mentioned in the error message above.
    val xxx = foo(param = null)
                        ^
one warning found
one error found