Analysis API: add test for KtDeclaration.getReturnKtType

FE1.0 always return kotlin.Unit as return type for constructors while
FIR returns the constructed class type. I am not sure which is more
desirable. Also, I am not sure how to make FE1.0 behave the same way.
This commit is contained in:
Tianyu Geng
2021-11-18 14:05:29 -08:00
committed by Ilya Kirillov
parent 0e93931e24
commit f1d0791f15
28 changed files with 402 additions and 2 deletions
Generated
+1
View File
@@ -44,5 +44,6 @@
</component>
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$/intellij" vcs="Git" />
</component>
</project>