Change Signature: Check syntactic validity of types. Warn about unresolved types

This commit is contained in:
Alexey Sedunov
2015-12-17 19:07:53 +03:00
parent 784b250de8
commit f745f27694
3 changed files with 45 additions and 23 deletions
@@ -27,7 +27,4 @@ class KtTypeCodeFragment(
context: PsiElement?
) : KtCodeFragment(project, name, text, null, KtNodeTypes.TYPE_CODE_FRAGMENT, context) {
override fun getContentElement() = findChildByClass(KtTypeReference::class.java)
val hasTypeReference: Boolean
get() = getContentElement() != null
}