summaryrefslogblamecommitdiff
path: root/test/files/neg/t5882.check
blob: e0958e19d9838cb3be00b6e20b71cace91c6f1b7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                            
                    
              

                                                                                             

            
                
t5882.scala:4: error: implementation restriction: nested class is not allowed in value class
This restriction is planned to be removed in subsequent releases.
  case class Scope()
             ^
t5882.scala:5: error: implementation restriction: nested object is not allowed in value class
This restriction is planned to be removed in subsequent releases.
  object Bar
         ^
two errors found