FIR: make componentX functions operator
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ FILE: nullable2.kt
|
||||
public final val name: R|kotlin/String| = R|<local>/name|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final fun component1(): R|kotlin/String|
|
||||
public final operator fun component1(): R|kotlin/String|
|
||||
|
||||
public final fun copy(name: R|kotlin/String| = this@R|/Foo|.R|/Foo.name|): R|Foo|
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ FILE: safeString2.kt
|
||||
public final val name: R|kotlin/String| = R|<local>/name|
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final fun component1(): R|kotlin/String|
|
||||
public final operator fun component1(): R|kotlin/String|
|
||||
|
||||
public final fun copy(name: R|kotlin/String| = this@R|/Foo|.R|/Foo.name|): R|Foo|
|
||||
|
||||
|
||||
compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantReturnUnitTypeChecker.fir.txt
Vendored
+1
-1
@@ -7,7 +7,7 @@ FILE: RedundantReturnUnitTypeChecker.kt
|
||||
public final val x: R|kotlin/Unit| = R|<local>/x|
|
||||
public get(): R|kotlin/Unit|
|
||||
|
||||
public final fun component1(): R|kotlin/Unit|
|
||||
public final operator fun component1(): R|kotlin/Unit|
|
||||
|
||||
public final fun copy(x: R|kotlin/Unit| = this@R|/My|.R|/My.x|): R|My|
|
||||
|
||||
|
||||
+2
-2
@@ -30,9 +30,9 @@ FILE: RedundantSingleExpressionStringTemplateChecker.kt
|
||||
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
public final fun component1(): R|kotlin/String|
|
||||
public final operator fun component1(): R|kotlin/String|
|
||||
|
||||
public final fun component2(): R|ProductGroup?|
|
||||
public final operator fun component2(): R|ProductGroup?|
|
||||
|
||||
public final fun copy(short_name: R|kotlin/String| = this@R|/ProductGroup|.R|/ProductGroup.short_name|, parent: R|ProductGroup?| = this@R|/ProductGroup|.R|/ProductGroup.parent|): R|ProductGroup|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user