summaryrefslogblamecommitdiff
path: root/test/files/neg/t5529.check
blob: 78a26aeb5084cb1e2cc882ead968b518553767f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                   
t5529.scala:12: error: File is already defined as class File
  type File
       ^
t5529.scala:10: error: class type required but test.Test.File found
  sealed class Dir extends File { }
                           ^
t5529.scala:10: error: illegal inheritance; super<none>
 is not a subclass of the superclass Object
 of the mixin trait ScalaObject
  sealed class Dir extends File { }
                   ^
three errors found