[FIR] Add builder for FirExpressionWithSmartcast

This commit is contained in:
Dmitriy Novozhilov
2020-02-13 15:42:20 +03:00
parent 1da036ac98
commit 4fbed9b363
5 changed files with 37 additions and 7 deletions
@@ -403,7 +403,7 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
expressionWithSmartcast.configure {
+field("originalExpression", qualifiedAccessExpression)
+field("typesFromSmartcast", "Collection<ConeKotlinType>", null, customType = coneKotlinTypeType)
+field("typesFromSmartCast", "Collection<ConeKotlinType>", null, customType = coneKotlinTypeType)
+field("originalType", typeRef)
}