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