Quick-fix to add noinline to parameter with suspend function type + AddInlineModifierFix refactoring #KT-16074 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-02-15 20:25:14 +03:00
parent d9710ea4ff
commit 0432e2e947
6 changed files with 42 additions and 25 deletions
+3
View File
@@ -0,0 +1,3 @@
// "Add 'noinline' to parameter 'x'" "true"
inline fun foo(<caret>x: suspend () -> Unit) {}
+3
View File
@@ -0,0 +1,3 @@
// "Add 'noinline' to parameter 'x'" "true"
inline fun foo(noinline x: suspend () -> Unit) {}