Enum.values: deprecation (warning) --> deprecation (error)

This commit is contained in:
Mikhail Glukhikh
2015-12-09 18:43:27 +03:00
parent 521b216602
commit c8b50eec1e
186 changed files with 238 additions and 215 deletions
@@ -7,5 +7,5 @@ public enum A {
// FILE: test.kt
fun main() {
checkSubtype<Array<A>>(A.<!DEPRECATION!>values<!>)
checkSubtype<Array<A>>(A.values())
}