Do not report errors on fake elements in call checkers
#KT-12875 Fixed
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ fun test() {
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>!<!>a
|
||||
!c
|
||||
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a()<!>
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>a<!>()
|
||||
c()
|
||||
|
||||
<!OPERATOR_MODIFIER_REQUIRED!>Example()()<!>
|
||||
|
||||
@@ -17,8 +17,8 @@ class PropertyHolder {
|
||||
@Deprecated("text")
|
||||
var name = "String"
|
||||
|
||||
val valDelegate <!DEPRECATION!>by<!> Delegate()
|
||||
var varDelegate <!DEPRECATION, DEPRECATION!>by<!> Delegate()
|
||||
val valDelegate by <!DEPRECATION!>Delegate()<!>
|
||||
var varDelegate by <!DEPRECATION, DEPRECATION!>Delegate()<!>
|
||||
|
||||
public val test1: String = ""
|
||||
@Deprecated("val-getter") get
|
||||
|
||||
+2
-2
@@ -13,6 +13,6 @@ operator fun <T, U, V, W> @ExtensionFunctionType Function3<T, U, V, W>.component
|
||||
operator fun <T, U, V, W> @ExtensionFunctionType Function3<T, U, V, W>.component2() = 2
|
||||
|
||||
inline fun <T, U, V, W> inlineFunWithInvoke(s: (p: T, l: U) -> V, ext: T.(p: U, l: V) -> W) {
|
||||
val (d1, e1) = <!USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE!>s<!>
|
||||
val (d2, e2) = <!USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE!>ext<!>
|
||||
val (d1, e1) = <!USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE!>s<!>
|
||||
val (d2, e2) = <!USAGE_IS_NOT_INLINABLE, USAGE_IS_NOT_INLINABLE!>ext<!>
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ class D : C {
|
||||
{
|
||||
val s = ""
|
||||
<!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>s<!>()
|
||||
""() // TODO: see KT-12875
|
||||
<!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>""()<!>
|
||||
42
|
||||
}())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user