FIR IDE: get unstable smartcast from FE1.0-based analysis API
Note that the current FE1.0 implementation still has some limitations 1. only references used as receiver are being considered for smartcast. 2. Somehow the smartcast information is not retained if the for generic typed receivers. See multiSmartcastAsReceiver_stable.descriptors.txt
This commit is contained in:
committed by
Ilya Kirillov
parent
197079c85c
commit
7de0937031
+2
-2
@@ -1,3 +1,3 @@
|
||||
expression: a
|
||||
isStable: null
|
||||
smartCastType: null
|
||||
isStable: false
|
||||
smartCastType: (A & B)
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
expression: a
|
||||
isStable: null
|
||||
smartCastType: null
|
||||
isStable: false
|
||||
smartCastType: kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user