Create from Usage: Implement "Create function" on callable references

#KT-10283 Fixed
This commit is contained in:
Alexey Sedunov
2015-12-07 20:21:15 +03:00
parent 87aebd2cdf
commit f50059a11a
15 changed files with 186 additions and 0 deletions
@@ -1,6 +1,7 @@
// "Create parameter 'foo'" "false"
// ACTION: Rename reference
// ACTION: Add 'f =' to argument
// ACTION: Create function 'foo'
// ERROR: Unresolved reference: foo
fun test(f: (Int) -> Int) {}