summaryrefslogtreecommitdiff
path: root/test/files/neg/bug284.check
blob: 821727b96a2d7c777b9a13a8161a42732e747206 (plain) (blame)
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:5: error: Unmatched closing brace '}' ignored here
  }
  ^
one warning found
one error found