Identity comparison for primitives is deprecated (warning).
Identity comparison for primitive vs non-primitive is a warning (due to implicit boxing).
This commit is contained in:
+2
-2
@@ -18,8 +18,8 @@ fun f(): Unit {
|
||||
<error>x === "1"</error>
|
||||
<error>x !== "1"</error>
|
||||
|
||||
x === 1
|
||||
x !== 1
|
||||
<warning>x === 1</warning>
|
||||
<warning>x !== 1</warning>
|
||||
|
||||
x..2
|
||||
x in 1..2
|
||||
|
||||
Reference in New Issue
Block a user