[minor] Update test data for 1.4
This commit is contained in:
+1
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// KT-9733 No error shown for 2 "main" functions in the same file
|
||||
|
||||
fun main(args: Array<String>) {}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// KT-9733 No error shown for 2 "main" functions in the same file
|
||||
|
||||
<!CONFLICTING_OVERLOADS!>fun main(args: Array<String>)<!> {}
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// FILE: a.kt
|
||||
fun main() {}
|
||||
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// FILE: a.kt
|
||||
<!CONFLICTING_OVERLOADS!>fun main()<!> {}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// FILE: a.kt
|
||||
|
||||
package foo
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// FILE: a.kt
|
||||
|
||||
package foo
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
fun main(args: Array<String>) {
|
||||
fun f() = run {
|
||||
private class C {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
fun main(args: Array<String>) {
|
||||
fun f() = run {
|
||||
<!WRONG_MODIFIER_TARGET!>private<!> class C {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !LANGUAGE: -DslMarkerOnFunctionTypeReceiver
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
@DslMarker
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !LANGUAGE: -DslMarkerOnFunctionTypeReceiver
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
@DslMarker
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// !CHECK_TYPE
|
||||
// !LANGUAGE: -ProhibitProtectedCallFromInline
|
||||
// FILE: module1/AbstractModule.java
|
||||
package module1;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// !CHECK_TYPE
|
||||
// !LANGUAGE: -ProhibitProtectedCallFromInline
|
||||
// FILE: module1/AbstractModule.java
|
||||
package module1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user