summaryrefslogblamecommitdiff
path: root/test/files/neg/bug284.check
blob: 7e546723655a9f9830db652b0a0d95da8f22a58b (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                           
bug284.scala:2: warning: Detected apparent refinement of Unit; are you missing an '=' sign?
    def f1(a: T): Unit { }
                       ^
bug284.scala:6: error: eof expected but '}' found.
}
^
one warning found
one error found