summaryrefslogtreecommitdiff
path: root/test/files/neg/t6276.check
blob: 8bd92cf29369c592c522904c1f5a380b23b70593 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
t6276.scala:4: error: method a does nothing other than call itself recursively
      def a: Any = a // warn
                   ^
t6276.scala:5: error: value b does nothing other than call itself recursively
      val b: Any = b // warn
                   ^
t6276.scala:10: error: method a does nothing other than call itself recursively
      def a: Any = a // warn
                   ^
t6276.scala:19: error: method a does nothing other than call itself recursively
      def a = a // warn
              ^
four errors found