summaryrefslogblamecommitdiff
path: root/test/files/neg/t7605-deprecation.check
blob: 9c466c058c8b9f0a0a0f07c65450094f89d6e22b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                     
t7605-deprecation.scala:2: warning: Procedure syntax is deprecated. Convert procedure to method by adding `: Unit =`.
  def this(i: Int) { this() }
                   ^
t7605-deprecation.scala:3: warning: Procedure syntax is deprecated. Convert procedure to method by adding `: Unit =`.
  def bar {}
          ^
t7605-deprecation.scala:4: warning: Procedure syntax is deprecated. Convert procedure to method by adding `: Unit`.
  def baz
         ^
error: No warnings can be incurred under -Xfatal-warnings.
three warnings found
one error found