summaryrefslogblamecommitdiff
path: root/test/files/neg/cyclics-import.check
blob: ef355fab0a8b494e6abef3e44f16b77fdef5795c (plain) (tree)
1
2
3
4
5




                                                                                                 









                                                      
cyclics-import.scala:1: error: encountered unrecoverable cycle resolving import.
Note: this is often due in part to a class depending on a definition nested within its companion.
If applicable, you may wish to try moving some members into another object.
import User.UserStatus._
            ^
cyclics-import.scala:12: error: not found: type Value
    type UserStatus = Value
                      ^
cyclics-import.scala:14: error: not found: value Value
    val Active = Value("1")
                 ^
cyclics-import.scala:15: error: not found: value Value
    val Disabled = Value("2")
                   ^
four errors found