[LL FIR] rename testdata to testData to avoid copyright generation
We exclude testData pattern from copyright scope
This commit is contained in:
committed by
Space Team
parent
aef5290210
commit
33e6a85a2d
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// FILE: lib.kt
|
||||
package lib
|
||||
|
||||
inline fun lib() {}
|
||||
|
||||
// FILE: unrelated.kt
|
||||
package lib
|
||||
|
||||
fun unrelated() {}
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
lib()
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
File lib.kt
|
||||
File main.kt
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// FILE: base.kt
|
||||
package base
|
||||
|
||||
inline fun base() {}
|
||||
|
||||
// FILE: lib.kt
|
||||
package lib
|
||||
|
||||
import base.*
|
||||
|
||||
inline fun lib() {
|
||||
base()
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
lib()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
File base.kt
|
||||
File lib.kt
|
||||
File main.kt
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// FILE: base.kt
|
||||
package base
|
||||
|
||||
inline fun base() {
|
||||
class Base {}
|
||||
Base()
|
||||
}
|
||||
|
||||
inline fun another() {
|
||||
class Another {}
|
||||
Another()
|
||||
}
|
||||
|
||||
// FILE: lib.kt
|
||||
package lib
|
||||
|
||||
import base.*
|
||||
|
||||
inline fun lib() {
|
||||
class Lib {}
|
||||
base()
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
lib()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
File base.kt
|
||||
File lib.kt
|
||||
File main.kt
|
||||
Class Lib
|
||||
Class Base
|
||||
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// WITH_STDLIB
|
||||
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
println("foo")
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
File libraryFunctionCall.kt
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// FILE: lib.kt
|
||||
package lib
|
||||
|
||||
fun lib() {}
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
lib()
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
File main.kt
|
||||
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
// FILE: lib.kt
|
||||
package lib
|
||||
|
||||
inline val lib: String
|
||||
get() = "lib"
|
||||
|
||||
// FILE: main.kt
|
||||
package test
|
||||
|
||||
import lib.*
|
||||
|
||||
fun foo() {
|
||||
lib.length
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
File lib.kt
|
||||
File main.kt
|
||||
Reference in New Issue
Block a user