summaryrefslogtreecommitdiff
path: root/test/files/neg/t5882.check
blob: df01c7bc0a1d9cc7dd0cfdb23d9e602a12bc8288 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
t5882.scala:2: warning: case classes without a parameter list have been deprecated;
use either case objects or case classes with `()' as parameter list.
  case class Scope
                  ^
t5882.scala:2: error: value class may not have nested class definitions
  case class Scope
             ^
t5882.scala:3: error: value class may not have nested class definitions
  class Foo
        ^
t5882.scala:4: error: value class may not have nested module definitions
  object Bar
         ^
one warning found
three errors found