Has platform type inspection: do not report by default on Kotlin types with platform arguments #KT-13170 Fixed

Also #KT-12820 Obsolete
(cherry picked from commit 0589b48)
This commit is contained in:
Mikhail Glukhikh
2016-07-25 14:05:17 +03:00
committed by Mikhail Glukhikh
parent 8600e7348c
commit ff2f49fa8f
4 changed files with 15 additions and 14 deletions
@@ -23,12 +23,4 @@
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Function, property or variable has platform type.</problem_class>
<description>Declaration has platform type. Make the type explicit to prevent subtle bugs.</description>
</problem>
<problem>
<file>property2.kt</file>
<line>3</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/property2.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Function, property or variable has platform type.</problem_class>
<description>Declaration has platform type. Make the type explicit to prevent subtle bugs.</description>
</problem>
</problems>
+1 -1
View File
@@ -1,3 +1,3 @@
// WITH_RUNTIME
// By default OK: Array<String!>
val list = arrayOf(java.lang.String.valueOf(1))