Files
kotlin-fork/idea/testData/multiModuleQuickFix/createExpect/funWithAccessibleExpansion/jvm/Utils.kt
T
Dmitry Gridin 56a7445660 CreateExpect: should prefer type aliases
#KT-32571 Fixed
2019-08-27 17:26:10 +07:00

7 lines
255 B
Kotlin
Vendored

// "Create expected function in common module testModule_Common" "true"
// SHOULD_FAIL_WITH: You cannot create the expect declaration from:,fun foo() = ""
// DISABLE-ERRORS
typealias SomeString = String
actual fun <caret>foo(): SomeString = ""