blob: dc3708123f75cb7e41cf62ec1ac74ba6b088b808 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
t5044.scala:7: error: recursive value a needs type
val id = m(a)
^
t5044.scala:6: warning: failed to determine if 'id = ...' is a named argument or an assignment expression.
an explicit type is required for the definition mentioned in the error message above.
val a = foo(id = 1)
^
one warning found
one error found
|