Create expected quick-fix: check types accessibility before creation

Related to KT-27075
This commit is contained in:
Mikhail Glukhikh
2018-11-20 17:23:15 +03:00
parent f31428257d
commit 8b7c7dbe25
28 changed files with 253 additions and 24 deletions
@@ -0,0 +1 @@
expect fun foo(): String
@@ -0,0 +1,6 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
typealias SomeString = String
actual fun <caret>foo(): SomeString = ""
@@ -0,0 +1,6 @@
// "Create expected function in common module testModule_Common" "true"
// DISABLE-ERRORS
typealias SomeString = String
actual fun foo(): SomeString = ""