blob: 7c2e9be03ec2f82b5cde870632e7ba1de61cfaf2 (
plain) (
blame)
1
2
3
4
5
6
|
t284.scala:2: warning: Detected apparent refinement of Unit; are you missing an '=' sign?
def f1(a: T): Unit { }
^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found
|