summaryrefslogtreecommitdiff
path: root/test/files/neg/t6276.check
blob: 0b3dfa55318171ebf04a3b3c184ad919a81f4352 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
t6276.scala:4: error: method a in class C does nothing other than call itself recursively
      def a: Any = a // warn
                   ^
t6276.scala:5: error: value b in class C does nothing other than call itself recursively
      val b: Any = b // warn
                   ^
t6276.scala:7: error: method c in class C does nothing other than call itself recursively
      def c: Any = this.c // warn
                        ^
t6276.scala:8: error: method d in class C does nothing other than call itself recursively
      def d: Any = C.this.d // warn
                          ^
t6276.scala:13: error: method a does nothing other than call itself recursively
      def a: Any = a // warn
                   ^
t6276.scala:22: error: method a does nothing other than call itself recursively
      def a = a // warn
              ^
6 errors found