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







                                                                                         
t284.scala:2: warning: Detected apparent refinement of Unit; are you missing an '=' sign?
    def f1(a: T): Unit { }
                       ^
t284.scala:5: error: Unmatched closing brace '}' ignored here
  }
  ^
one warning found
one error found