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
@@ -1,4 +1,5 @@
// "Create expected function in common module proj_Common" "true"
// SHOULD_FAIL_WITH: Cannot generate expected function: Type java.util.ArrayList<kotlin.Any> is not accessible from common code
// DISABLE-ERRORS
import java.util.ArrayList
@@ -1,4 +1,5 @@
// "Create expected function in common module proj_Common" "true"
// SHOULD_FAIL_WITH: Cannot generate expected function: Type java.util.ArrayList<kotlin.Any> is not accessible from common code
// DISABLE-ERRORS
import java.util.ArrayList