Kapt: Fix broken assertion
(cherry picked from commit 36b0b52)
This commit is contained in:
committed by
Yan Zhulanow
parent
46367d720c
commit
49bd303988
+3
-1
@@ -266,5 +266,7 @@ private fun assertKindNot(typeMirror: TypeMirror, vararg kinds: TypeKind): Unit
|
||||
}
|
||||
|
||||
private fun assertJeType(type: TypeMirror) {
|
||||
illegalArg("Must be a subclass of JePsiType, got ${type.javaClass.name}")
|
||||
if (type !is JeTypeMirror) {
|
||||
illegalArg("Must be a subclass of JePsiType, got ${type.javaClass.name}")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user