-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Processing implicit extension receiver usages in outflow processing
- Loading branch information
1 parent
5040d37
commit 269420a
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// FLOW: OUT | ||
|
||
fun Any.extensionFun(): Any { | ||
return this | ||
} | ||
|
||
fun String.foo() { | ||
val v = extensionFun() | ||
} | ||
|
||
fun main() { | ||
<caret>"A".foo() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
12 <bold>"A"</bold>.foo() | ||
7 fun <bold>String</bold>.foo() { | ||
3 fun <bold>Any</bold>.extensionFun(): Any { | ||
4 return <bold>this</bold> | ||
3 fun Any.<bold>extensionFun(): Any {</bold> | ||
8 val v = <bold>extensionFun()</bold> | ||
8 val <bold>v = extensionFun()</bold> |
5 changes: 5 additions & 0 deletions
5
idea/tests/org/jetbrains/kotlin/idea/slicer/SlicerTreeTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.