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:
committed by
Mikhail Glukhikh
parent
8600e7348c
commit
ff2f49fa8f
@@ -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
@@ -1,3 +1,3 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// By default OK: Array<String!>
|
||||
val list = arrayOf(java.lang.String.valueOf(1))
|
||||
Reference in New Issue
Block a user