Update existing test data depending on diagnostic parameter rendering

Original commit: a4c005fefd
This commit is contained in:
Pavel V. Talanov
2016-02-25 13:56:43 +03:00
parent f511d4986f
commit 8f456556f6
16 changed files with 29 additions and 29 deletions
@@ -1,4 +1,4 @@
'internal open val member: kotlin.Int defined in test.ClassBB1' has no access to 'internal abstract val member: kotlin.Int defined in test.ClassB1', so it cannot override it at line 14, column 14
'internal open val member: Int defined in test.ClassBB1' has no access to 'internal abstract val member: Int defined in test.ClassB1', so it cannot override it at line 14, column 14
'public' subclass exposes its 'internal' supertype InternalClass1 at line 8, column 36
'public' subclass exposes its 'internal' supertype InternalClass2 at line 18, column 36
'public' subclass exposes its 'internal' supertype InternalClass2 at line 19, column 15
@@ -1,4 +1,4 @@
'internal open val member: kotlin.Int defined in test.ClassBB1' has no access to 'internal abstract val member: kotlin.Int defined in test.ClassB1', so it cannot override it at line 14, column 14
'internal open val member: Int defined in test.ClassBB1' has no access to 'internal abstract val member: Int defined in test.ClassB1', so it cannot override it at line 14, column 14
'public' subclass exposes its 'internal' supertype InternalClass1 at line 8, column 36
'public' subclass exposes its 'internal' supertype InternalClass2 at line 18, column 36
Cannot access 'InternalClass1': it is 'internal' in 'test' at line 5, column 13
@@ -33,10 +33,10 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
================ Step #2 =================
@@ -30,10 +30,10 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
================ Step #2 =================
@@ -20,7 +20,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
================ Step #2 =================
@@ -37,9 +37,9 @@ Cannot access 'A': it is 'private' in file
'public' function exposes its 'private' return type A
Cannot access 'A': it is 'private' in file
Cannot access 'A': it is 'private' in file
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
Cannot access 'x': it is 'invisible_fake' in 'B'
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
================ Step #2 =================
@@ -57,8 +57,8 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type kotlin.Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Any?
================ Step #3 =================
@@ -34,8 +34,8 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Type mismatch: inferred type is kotlin.collections.List<B> but kotlin.collections.List<A> was expected
Type mismatch: inferred type is kotlin.collections.List<C> but kotlin.collections.List<A> was expected
Type mismatch: inferred type is List<B> but List<A> was expected
Type mismatch: inferred type is List<C> but List<A> was expected
================ Step #2 =================
@@ -23,7 +23,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Null can not be a value of a non-null type kotlin.Any
Null can not be a value of a non-null type Any
================ Step #2 =================
@@ -19,7 +19,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Class 'BA' must be declared abstract or implement abstract member public abstract fun f(c: C<kotlin.Any>): kotlin.Unit defined in A
Class 'BA' must be declared abstract or implement abstract member public abstract fun f(c: C<Any>): Unit defined in A
================ Step #2 =================
@@ -24,7 +24,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Type mismatch: inferred type is kotlin.Any? but kotlin.Any was expected
Type mismatch: inferred type is Any? but Any was expected
================ Step #2 =================
@@ -9,7 +9,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
'public constructor A(x: kotlin.String)' conflicts with another declaration in package '<root>'
'public constructor A(x: String)' conflicts with another declaration in package '<root>'
================ Step #2 =================
@@ -12,8 +12,8 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
fun function(list: kotlin.collections.List<kotlin.Any>): kotlin.Unit
fun function(list: kotlin.collections.List<kotlin.String>): kotlin.Unit
fun function(list: List<Any>): kotlin.Unit
fun function(list: List<String>): kotlin.Unit
Platform declaration clash: The following declarations have the same JVM signature (function(Ljava/util/List;)V):
fun function(list: kotlin.collections.List<kotlin.Any>): kotlin.Unit
fun function(list: kotlin.collections.List<kotlin.String>): kotlin.Unit
fun function(list: List<Any>): kotlin.Unit
fun function(list: List<String>): kotlin.Unit
@@ -10,4 +10,4 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
'public fun function(): kotlin.Unit' conflicts with another declaration in package 'test'
'public fun function(): Unit' conflicts with another declaration in package 'test'
@@ -18,4 +18,4 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Smart cast to 'kotlin.Int' is impossible, because 'a.x' is a property that has open or custom getter
Smart cast to 'Int' is impossible, because 'a.x' is a property that has open or custom getter
@@ -20,4 +20,4 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Smart cast to 'kotlin.Int' is impossible, because 'a.x' is a property that has open or custom getter
Smart cast to 'Int' is impossible, because 'a.x' is a property that has open or custom getter
@@ -10,7 +10,7 @@ End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Smart cast to 'kotlin.Int' is impossible, because 'a.x' is a property that has open or custom getter
Smart cast to 'Int' is impossible, because 'a.x' is a property that has open or custom getter
================ Step #2 =================