[VISUALIZER] Disable rendering of value arguments in psi part

For now instead of arguments will be rendered parameters
This commit is contained in:
Ivan Kylchik
2021-02-10 16:12:47 +03:00
committed by TeamCityServer
parent f2cf86a3ae
commit ce844a9bba
13 changed files with 33 additions and 33 deletions
@@ -14,7 +14,7 @@ class B {
}
fun foo(a: Int, b: Int): Int {
// fun <T, R> with<A, Int>(A, A.() -> Int): Int
// fun <T, R> with<A, Int>(T, T.() -> R): R
// │ constructor A()
// │ │ with@0
// │ │ │
@@ -24,7 +24,7 @@ fun foo(a: Int, b: Int): Int {
// │
aProp
// fun <T, R> with<B, Int>(B, B.() -> Int): Int
// fun <T, R> with<B, Int>(T, T.() -> R): R
// │ constructor B()
// │ │ with@1
// │ │ │
@@ -44,7 +44,7 @@ fun foo(a: Int, b: Int): Int {
}
}
// fun <T, R> with<A, Int>(A, A.() -> Int): Int
// fun <T, R> with<A, Int>(T, T.() -> R): R
// │ constructor A()
// │ │ with@0
// │ │ │
@@ -54,7 +54,7 @@ fun foo(a: Int, b: Int): Int {
// │
aProp
// fun <T, R> with<B, Int>(B, B.() -> Int): Int
// fun <T, R> with<B, Int>(T, T.() -> R): R
// │ constructor B()
// │ │ with@1
// │ │ │
@@ -69,7 +69,7 @@ fun foo(a: Int, b: Int): Int {
bProp
}
// fun <T, R> with<B, Int>(B, B.() -> Int): Int
// fun <T, R> with<B, Int>(T, T.() -> R): R
// │ constructor B()
// │ │ with@1
// │ │ │
@@ -2,7 +2,7 @@
package org.jetbrains.kotlin.test
// collections/List<Int>
// │ fun <T> collections/listOf<Int>(vararg Int): collections/List<Int>
// │ fun <T> collections/listOf<Int>(vararg T): collections/List<T>
// │ │ Int
// │ │ │ Int
// │ │ │ │ Int
@@ -5,7 +5,7 @@ abstract class Base<T>(var x: T) {
fun replace(newValue: T)
}
// constructor Base<T>(Int)
// constructor Base<T>(T)
// │ Derived.<init>.x: Int
// │ │
class Derived(var x: Int): Base<Int>(x) {
@@ -9,7 +9,7 @@ fun <T> copyWhenGreater(list: List<T>, threshold: T): List<String>
// │ │ copyWhenGreater.<anonymous>.it: T
// │ │ │ fun (Comparable<T>).compareTo(T): Int
// │ │ │ │ copyWhenGreater.threshold: T
// │ │ │ │ │ fun <T, R> collections/Iterable<T>.map<T, String>((T) -> String): collections/List<String>
// │ │ │ │ │ fun <T, R> collections/Iterable<T>.map<T, String>((T) -> R): collections/List<R>
// │ │ │ │ │ │ copyWhenGreater.<anonymous>.it: T
// │ │ │ │ │ │ │ fun (Any).toString(): String
// │ │ │ │ │ │ │ │
@@ -18,11 +18,11 @@ fun <T> copyWhenGreater(list: List<T>, threshold: T): List<String>
fun main() {
// collections/List<String>
// │ fun <T> collections/listOf<String>(vararg String): collections/List<String>
// │ fun <T> collections/listOf<String>(vararg T): collections/List<T>
// │ │
val list = listOf("1", "2", "3")
// collections/List<String>
// │ fun <T : CharSequence> copyWhenGreater<String>(collections/List<String>, String): collections/List<String> where T : Comparable<String>
// │ fun <T : CharSequence> copyWhenGreater<String>(collections/List<T>, T): collections/List<String> where T : Comparable<T>
// │ │ val main.list: collections/List<String>
// │ │ │
val copy = copyWhenGreater(list, "2")