Create expected quick-fix: check types accessibility before creation
Related to KT-27075
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
// To be implemented
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Cannot generate expected function: Type Some is not accessible from common code
|
||||
// DISABLE-ERRORS
|
||||
|
||||
class Some
|
||||
|
||||
actual fun <caret>foo(some: Some) {}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Cannot generate expected function: Type Some is not accessible from common code
|
||||
// DISABLE-ERRORS
|
||||
|
||||
class Some
|
||||
|
||||
actual fun foo(some: Some) {}
|
||||
Reference in New Issue
Block a user