KT-63269: implementation for SIRGenerator with top-level functions
KT-63269: add test generator Merge-request: KT-MR-12945 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// FILE: one.kt
|
||||
|
||||
package namespace
|
||||
fun foo(arg1: Int) = println("")
|
||||
fun foo(arg1: Double) = println("")
|
||||
|
||||
// FILE: two.kt
|
||||
|
||||
package other.namespace
|
||||
|
||||
fun foo(arg1: Int) = println("")
|
||||
fun foo(arg1: Double) = println("")
|
||||
@@ -0,0 +1,4 @@
|
||||
[namespace, foo]
|
||||
[namespace, foo]
|
||||
[other, namespace, foo]
|
||||
[other, namespace, foo]
|
||||
@@ -0,0 +1,12 @@
|
||||
// FILE: one.kt
|
||||
|
||||
package com.awesome.namespace
|
||||
fun foo() = println("")
|
||||
|
||||
fun bar() = ""
|
||||
|
||||
// FILE: two.kt
|
||||
|
||||
package com.awesome.other.namespace
|
||||
|
||||
fun foo() = ""
|
||||
@@ -0,0 +1,3 @@
|
||||
[com, awesome, namespace, foo]
|
||||
[com, awesome, namespace, bar]
|
||||
[com, awesome, other, namespace, foo]
|
||||
@@ -0,0 +1,3 @@
|
||||
public fun foo_public() = println("")
|
||||
internal fun foo_internal() = println("")
|
||||
private fun foo_private() = println("")
|
||||
@@ -0,0 +1 @@
|
||||
[foo_public]
|
||||
@@ -0,0 +1 @@
|
||||
fun foo() = println("")
|
||||
@@ -0,0 +1 @@
|
||||
[foo]
|
||||
Reference in New Issue
Block a user