Fix tests ('infix')
This commit is contained in:
+5
-5
@@ -17,10 +17,10 @@ inline fun inlineFunWithInvoke(s: (p: Int) -> Unit, ext: Int.(p: Int) -> Unit) {
|
||||
Test().test(){
|
||||
s(11)
|
||||
s.invoke(11)
|
||||
s invoke 11
|
||||
s <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
|
||||
|
||||
11.ext(11)
|
||||
11 ext 11
|
||||
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
|
||||
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>s<!>
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>ext<!>
|
||||
@@ -32,10 +32,10 @@ inline fun inlineFunWithInvokeNonInline(noinline s: (p: Int) -> Unit, ext: Int.(
|
||||
Test().test(){
|
||||
s(11)
|
||||
s.invoke(11)
|
||||
s invoke 11
|
||||
s <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
|
||||
|
||||
11.ext(11)
|
||||
11 ext 11
|
||||
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
|
||||
|
||||
<!UNUSED_EXPRESSION!>s<!>
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>ext<!>
|
||||
@@ -48,7 +48,7 @@ inline fun Function1<Int, Unit>.inlineExt() {
|
||||
Test().test(){
|
||||
invoke(11)
|
||||
this.invoke(11)
|
||||
this invoke 11
|
||||
this <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
|
||||
this(11)
|
||||
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>this<!>
|
||||
|
||||
Reference in New Issue
Block a user