Use separate module analysis in CliReplAnalyzerEngine

This commit is contained in:
Alexander Udalov
2016-10-06 10:54:04 +03:00
parent 1e51ba7d00
commit 8ffe379c92
5 changed files with 67 additions and 35 deletions
+5
View File
@@ -0,0 +1,5 @@
>>> val x: Pair<Any?, Any?> = null to null
>>> if (x.first != null) x.first.hashCode()
error: smart cast to 'Any' is impossible, because 'x.first' is a public API property declared in different module
if (x.first != null) x.first.hashCode()
^