Analyze Data Flow: Support callable references

#KT-11994 In Progress
This commit is contained in:
Alexey Sedunov
2017-06-05 21:31:58 +03:00
parent 3f411fc93b
commit d61ddaccb6
14 changed files with 155 additions and 0 deletions
@@ -0,0 +1,6 @@
5 val <bold>x = (::bar)(1)</bold>
5 val x = <bold>(::bar)(1)</bold>
5 [LAMBDA] val x = <bold>(::bar)</bold>(1)
4 fun <bold>bar(n: Int) = n</bold>
4 fun bar(n: Int) = <bold>n</bold>
4 fun bar(<bold>n: Int</bold>) = n