Merge "Update lint baseline for compose runtime" into androidx-main
diff --git a/compose/runtime/runtime/lint-baseline.xml b/compose/runtime/runtime/lint-baseline.xml
index 9a42aba..4643833 100644
--- a/compose/runtime/runtime/lint-baseline.xml
+++ b/compose/runtime/runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.2.0-dev" type="baseline" client="cli" dependencies="false" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
+<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="false" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
id="UnknownNullness"
@@ -41,7 +41,51 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
- line="332"
+ line="233"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> mutableStateListOf(vararg elements: T) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="233"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> mutableStateListOf(vararg elements: T) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="233"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> mutableStateListOf(vararg elements: T) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="233"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> mutableStateListOf(vararg elements: T) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="233"
column="9"/>
</issue>
@@ -52,7 +96,51 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
- line="339"
+ line="240"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> Collection<T>.toMutableStateList() = SnapshotStateList<T>().also { it.addAll(this) }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="240"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> Collection<T>.toMutableStateList() = SnapshotStateList<T>().also { it.addAll(this) }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="240"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> Collection<T>.toMutableStateList() = SnapshotStateList<T>().also { it.addAll(this) }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="240"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <T> Collection<T>.toMutableStateList() = SnapshotStateList<T>().also { it.addAll(this) }"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="240"
column="23"/>
</issue>
@@ -63,7 +151,51 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
- line="361"
+ line="262"
+ column="12"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="262"
+ column="12"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="262"
+ column="12"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="262"
+ column="12"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>) ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="262"
column="12"/>
</issue>
@@ -74,7 +206,51 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
- line="369"
+ line="270"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="270"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="270"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="270"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/runtime/SnapshotState.kt"
+ line="270"
column="33"/>
</issue>