CreateExpect: should prefer type aliases
#KT-32571 Fixed
This commit is contained in:
Vendored
-1
@@ -1 +0,0 @@
|
||||
expect fun foo(): String
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "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
|
||||
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
typealias SomeString = String
|
||||
|
||||
actual fun foo(): SomeString = ""
|
||||
Reference in New Issue
Block a user