Exposed visibility deprecation warnings made errors + relevant test fixes

This commit is contained in:
Mikhail Glukhikh
2015-11-17 18:59:04 +03:00
parent e8e5d700d2
commit 4e44466cf9
63 changed files with 93 additions and 87 deletions
@@ -1,6 +1,6 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
class B: J(1) {
internal class B: J(1) {
}
@@ -1,6 +1,6 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
class B: J(<caret>1) {
internal class B: J(<caret>1) {
}
@@ -1,4 +1,4 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
fun test() = J(1)
internal fun test() = J(1)
@@ -1,4 +1,4 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
fun test() = J(<caret>1)
internal fun test() = J(<caret>1)
@@ -1,7 +1,7 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
class B: J {
internal class B: J {
constructor(): super(1) {
}
@@ -1,7 +1,7 @@
// "Create secondary constructor" "true"
// ERROR: Too many arguments for public/*package*/ constructor J() defined in J
class B: J {
internal class B: J {
constructor(): super(<caret>1) {
}