Update lint baselines for various libraries
Fix androidx-studio-integration branch lint target issues
Test: lintDebug, using AGP 7.2.0-dev and lint 30.2.0-dev
Change-Id: Ib67d70be1a9477a23e9261cc8a6b885dbfcec82d
diff --git a/compose/animation/animation-core/samples/lint-baseline.xml b/compose/animation/animation-core/samples/lint-baseline.xml
index 3477467..7648d4d 100644
--- a/compose/animation/animation-core/samples/lint-baseline.xml
+++ b/compose/animation/animation-core/samples/lint-baseline.xml
@@ -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>
diff --git a/compose/animation/animation-graphics/samples/lint-baseline.xml b/compose/animation/animation-graphics/samples/lint-baseline.xml
index abd7404..2bb0704 100644
--- a/compose/animation/animation-graphics/samples/lint-baseline.xml
+++ b/compose/animation/animation-graphics/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -371,7 +63,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>
@@ -382,7 +118,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>
@@ -393,7 +173,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>
@@ -404,7 +228,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>
diff --git a/compose/animation/animation/samples/lint-baseline.xml b/compose/animation/animation/samples/lint-baseline.xml
index 36a2043..7656c8d 100644
--- a/compose/animation/animation/samples/lint-baseline.xml
+++ b/compose/animation/animation/samples/lint-baseline.xml
@@ -52,7 +52,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>
@@ -63,7 +107,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>
@@ -74,7 +162,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>
@@ -85,7 +217,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>
diff --git a/compose/foundation/foundation-layout/samples/lint-baseline.xml b/compose/foundation/foundation-layout/samples/lint-baseline.xml
index f6f0fd5..aff093a 100644
--- a/compose/foundation/foundation-layout/samples/lint-baseline.xml
+++ b/compose/foundation/foundation-layout/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -404,7 +96,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>
@@ -415,7 +151,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>
@@ -426,7 +206,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>
@@ -437,7 +261,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>
diff --git a/compose/foundation/foundation/samples/lint-baseline.xml b/compose/foundation/foundation/samples/lint-baseline.xml
index f6f0fd5..aff093a 100644
--- a/compose/foundation/foundation/samples/lint-baseline.xml
+++ b/compose/foundation/foundation/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -404,7 +96,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>
@@ -415,7 +151,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>
@@ -426,7 +206,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>
@@ -437,7 +261,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>
diff --git a/compose/material/material-icons-core/samples/lint-baseline.xml b/compose/material/material-icons-core/samples/lint-baseline.xml
index e5c9942..ada07621 100644
--- a/compose/material/material-icons-core/samples/lint-baseline.xml
+++ b/compose/material/material-icons-core/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -437,7 +129,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>
@@ -448,7 +184,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>
@@ -459,7 +239,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>
@@ -470,7 +294,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>
diff --git a/compose/material/material/samples/lint-baseline.xml b/compose/material/material/samples/lint-baseline.xml
index e5c9942..ada07621 100644
--- a/compose/material/material/samples/lint-baseline.xml
+++ b/compose/material/material/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -437,7 +129,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>
@@ -448,7 +184,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>
@@ -459,7 +239,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>
@@ -470,7 +294,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>
diff --git a/compose/material3/material3/samples/lint-baseline.xml b/compose/material3/material3/samples/lint-baseline.xml
index fd9dfc09..0f16634 100644
--- a/compose/material3/material3/samples/lint-baseline.xml
+++ b/compose/material3/material3/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -459,7 +151,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>
@@ -470,7 +206,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>
@@ -481,7 +261,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>
@@ -492,7 +316,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>
diff --git a/compose/runtime/runtime-livedata/samples/lint-baseline.xml b/compose/runtime/runtime-livedata/samples/lint-baseline.xml
index 3477467..7648d4d 100644
--- a/compose/runtime/runtime-livedata/samples/lint-baseline.xml
+++ b/compose/runtime/runtime-livedata/samples/lint-baseline.xml
@@ -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>
diff --git a/compose/runtime/runtime-rxjava2/samples/lint-baseline.xml b/compose/runtime/runtime-rxjava2/samples/lint-baseline.xml
index 3477467..7648d4d 100644
--- a/compose/runtime/runtime-rxjava2/samples/lint-baseline.xml
+++ b/compose/runtime/runtime-rxjava2/samples/lint-baseline.xml
@@ -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>
diff --git a/compose/runtime/runtime-rxjava3/samples/lint-baseline.xml b/compose/runtime/runtime-rxjava3/samples/lint-baseline.xml
index 3477467..7648d4d 100644
--- a/compose/runtime/runtime-rxjava3/samples/lint-baseline.xml
+++ b/compose/runtime/runtime-rxjava3/samples/lint-baseline.xml
@@ -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>
diff --git a/compose/runtime/runtime-saveable/samples/lint-baseline.xml b/compose/runtime/runtime-saveable/samples/lint-baseline.xml
index e5c9942..ada07621 100644
--- a/compose/runtime/runtime-saveable/samples/lint-baseline.xml
+++ b/compose/runtime/runtime-saveable/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -437,7 +129,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>
@@ -448,7 +184,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>
@@ -459,7 +239,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>
@@ -470,7 +294,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>
diff --git a/compose/runtime/runtime/samples/lint-baseline.xml b/compose/runtime/runtime/samples/lint-baseline.xml
index 3477467..7648d4d 100644
--- a/compose/runtime/runtime/samples/lint-baseline.xml
+++ b/compose/runtime/runtime/samples/lint-baseline.xml
@@ -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>
diff --git a/compose/ui/ui-graphics/samples/lint-baseline.xml b/compose/ui/ui-graphics/samples/lint-baseline.xml
index f6f0fd5..1c494d2 100644
--- a/compose/ui/ui-graphics/samples/lint-baseline.xml
+++ b/compose/ui/ui-graphics/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -334,39 +26,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="44"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" fun remeasure() = remeasurement?.forceRemeasure()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="54"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyListLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListState.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" internal override val recomposeCoroutineContext: CoroutineContext"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -378,17 +37,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" override fun Density.modifyParentData(parentData: Any?) ="
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/layout/RowColumnImpl.kt"
- line="769"
- column="26"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" fun get(index: Int) = (currentSlot + index).let { slotIndex ->"
errorLine2=" ~~~">
<location
@@ -404,7 +52,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>
@@ -415,7 +107,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>
@@ -426,7 +162,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>
@@ -437,30 +217,52 @@
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=" internal val currentInputSession: TextInputSession?"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
- file="src/commonMain/kotlin/androidx/compose/ui/text/input/TextInputService.kt"
- line="35"
- column="18"/>
+ 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=" val text: CharSequence"
- errorLine2=" ~~~~">
+ errorLine1="fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap() ="
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="218"
- column="9"/>
+ 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>
</issues>
diff --git a/compose/ui/ui-text/samples/lint-baseline.xml b/compose/ui/ui-text/samples/lint-baseline.xml
index e5c9942..0b7b774 100644
--- a/compose/ui/ui-text/samples/lint-baseline.xml
+++ b/compose/ui/ui-text/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -334,72 +26,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="44"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" fun remeasure() = remeasurement?.forceRemeasure()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="54"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyListLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListState.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val colors: Colors"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="100"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val typography: Typography"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="110"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val shapes: Shapes"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="118"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" internal override val recomposeCoroutineContext: CoroutineContext"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -411,17 +37,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" override fun Density.modifyParentData(parentData: Any?) ="
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/layout/RowColumnImpl.kt"
- line="769"
- column="26"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" fun get(index: Int) = (currentSlot + index).let { slotIndex ->"
errorLine2=" ~~~">
<location
@@ -437,7 +52,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>
@@ -448,7 +107,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>
@@ -459,7 +162,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>
@@ -470,7 +217,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>
diff --git a/compose/ui/ui-unit/samples/lint-baseline.xml b/compose/ui/ui-unit/samples/lint-baseline.xml
index c076b74..0b7b774 100644
--- a/compose/ui/ui-unit/samples/lint-baseline.xml
+++ b/compose/ui/ui-unit/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -360,7 +52,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>
@@ -371,7 +107,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>
@@ -382,7 +162,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>
@@ -393,7 +217,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>
diff --git a/compose/ui/ui-viewbinding/samples/lint-baseline.xml b/compose/ui/ui-viewbinding/samples/lint-baseline.xml
index c076b74..0b7b774 100644
--- a/compose/ui/ui-viewbinding/samples/lint-baseline.xml
+++ b/compose/ui/ui-viewbinding/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -360,7 +52,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>
@@ -371,7 +107,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>
@@ -382,7 +162,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>
@@ -393,7 +217,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>
diff --git a/compose/ui/ui/samples/lint-baseline.xml b/compose/ui/ui/samples/lint-baseline.xml
index e5c9942..0b7b774 100644
--- a/compose/ui/ui/samples/lint-baseline.xml
+++ b/compose/ui/ui/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -334,72 +26,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="44"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" fun remeasure() = remeasurement?.forceRemeasure()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutState.kt"
- line="54"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val layoutInfo: LazyListLayoutInfo get() = layoutInfoState.value"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListState.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val colors: Colors"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="100"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val typography: Typography"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="110"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" val shapes: Shapes"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/MaterialTheme.kt"
- line="118"
- column="9"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" internal override val recomposeCoroutineContext: CoroutineContext"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -411,17 +37,6 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
- errorLine1=" override fun Density.modifyParentData(parentData: Any?) ="
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/foundation/layout/RowColumnImpl.kt"
- line="769"
- column="26"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" fun get(index: Int) = (currentSlot + index).let { slotIndex ->"
errorLine2=" ~~~">
<location
@@ -437,7 +52,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>
@@ -448,7 +107,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>
@@ -459,7 +162,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>
@@ -470,7 +217,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>
diff --git a/health/health-services-client/lint-baseline.xml b/health/health-services-client/lint-baseline.xml
index f02d661..816c96d 100644
--- a/health/health-services-client/lint-baseline.xml
+++ b/health/health-services-client/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.1.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.0-alpha08)" variant="all" version="7.1.0-alpha08">
+<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="BanKeepAnnotation"
@@ -123,6 +123,17 @@
</issue>
<issue
+ id="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" get() = ServiceBackedMeasureClient.getClient(applicationContext)"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/health/services/client/impl/ServiceBackedHealthServicesClient.kt"
+ line="51"
+ column="44"/>
+ </issue>
+
+ <issue
id="SyntheticAccessor"
message="Access to `private` field `mCurrentVersion` of class `Client` requires synthetic accessor"
errorLine1=" mCurrentVersion ="
@@ -195,7 +206,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/health/services/client/impl/ipc/Client.java"
- line="278"
+ line="279"
column="35"/>
</issue>
@@ -916,6 +927,39 @@
<issue
id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1=" override val capabilities: ListenableFuture<ExerciseCapabilities>"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/health/services/client/impl/ServiceBackedExerciseClient.kt"
+ line="160"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1=" override val capabilities: ListenableFuture<MeasureCapabilities>"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/health/services/client/impl/ServiceBackedMeasureClient.kt"
+ line="92"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1=" override val capabilities: ListenableFuture<PassiveMonitoringCapabilities>"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/health/services/client/impl/ServiceBackedPassiveMonitoringClient.kt"
+ line="140"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" void onConnected(ServiceConnection connection);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
diff --git a/room/room-compiler/lint-baseline.xml b/room/room-compiler/lint-baseline.xml
index 0867719..513cc29 100644
--- a/room/room-compiler/lint-baseline.xml
+++ b/room/room-compiler/lint-baseline.xml
@@ -1,4 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<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="VisibleForTests"
+ message="This method should only be accessed from tests or within private scope"
+ errorLine1=" val candidate = NullSafeTypeConverter(delegate = converter)"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/kotlin/androidx/room/solver/NullAwareTypeConverterStore.kt"
+ line="60"
+ column="66"/>
+ </issue>
+
</issues>
diff --git a/vectordrawable/integration-tests/testapp/lint-baseline.xml b/vectordrawable/integration-tests/testapp/lint-baseline.xml
index 0e34003..a342a5e 100644
--- a/vectordrawable/integration-tests/testapp/lint-baseline.xml
+++ b/vectordrawable/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,61 @@
<?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="LintError"
+ message="Unexpected failure during lint analysis of vector_drawable12.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_drawable12.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_drawable23.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_drawable23.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_drawable24.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_drawable24.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_drawable25.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_drawable25.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_drawable_scale0.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_drawable_scale0.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_icon_gradient_1.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_icon_gradient_1.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_icon_gradient_2.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_icon_gradient_2.xml"/>
+ </issue>
+
+ <issue
+ id="LintError"
+ message="Unexpected failure during lint analysis of vector_icon_gradient_3.xml (this is a bug in lint or one of the libraries it depends on)

Message: Path variable $HOME referenced in $HOME/.gradle/caches/transforms-3/b87b128a8e5ef3a09a0ae785e9ef1692/transformed/fragment-1.3.6/res/anim/fragment_fast_out_extra_slow_in.xml not provided to serialization

The crash seems to involve the detector `com.android.tools.lint.checks.VectorPathDetector`.
You can try disabling it with something like this:
 android {
 lintOptions {
 disable "VectorPath", "InvalidVectorPath"
 }
 }

Stack: `IllegalStateException:PathVariables.fromPathString(PathVariables.kt:112)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:415)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:577)←LintResourceRepository$Companion.getForLibrary(LintResourceRepository.kt:503)←LintResourceRepository$Companion.access$getForLibrary(LintResourceRepository.kt:319)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←LintResourceRepository$Companion$createRepository$5.invoke(LintResourceRepository.kt:434)←TransformingSequence$iterator$1.next(Sequences.kt:210)`

You can run with --stacktrace or set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.">
+ <location
+ file="src/main/res/drawable/vector_icon_gradient_3.xml"/>
+ </issue>
<issue
id="NewApi"
diff --git a/wear/compose/compose-foundation/samples/lint-baseline.xml b/wear/compose/compose-foundation/samples/lint-baseline.xml
index 9171b44..8d25778 100644
--- a/wear/compose/compose-foundation/samples/lint-baseline.xml
+++ b/wear/compose/compose-foundation/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -415,7 +107,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>
@@ -426,7 +162,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>
@@ -437,7 +217,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>
@@ -448,7 +272,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>
diff --git a/wear/compose/compose-material/samples/lint-baseline.xml b/wear/compose/compose-material/samples/lint-baseline.xml
index 18f181d..99a25b4 100644
--- a/wear/compose/compose-material/samples/lint-baseline.xml
+++ b/wear/compose/compose-material/samples/lint-baseline.xml
@@ -2,314 +2,6 @@
<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="true" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
<issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="140"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="145"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="149"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="153"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="158"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="162"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="166"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="170"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="174"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="186"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="191"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="196"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/autofill/AndroidAutofill.android.kt"
- line="206"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(Build.VERSION_CODES.LOLLIPOP)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="136"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="1311"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.O)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"
- line="2557"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/font/AndroidFont.kt"
- line="133"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt"
- line="160"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 26 here from outer annotations"
- errorLine1=" @RequiresApi(26)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidFontResourceLoader.android.kt"
- line="52"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="82"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 23 here from outer annotations"
- errorLine1=" @RequiresApi(23)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidTextToolbar.android.kt"
- line="95"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="36"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 24 here from outer annotations"
- errorLine1=" @RequiresApi(24)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/LocaleExtensions.android.kt"
- line="43"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/RenderNodeLayer.android.kt"
- line="93"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 21 from the `minSdkVersion`"
- errorLine1="@RequiresApi(api = 18)"
- errorLine2="~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="../../../text/text/src/main/java/androidx/compose/ui/text/android/TextLayout.kt"
- line="296"
- column="1"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 28 here from outer annotations"
- errorLine1=" @RequiresApi(28)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/text/platform/TypefaceAdapter.android.kt"
- line="271"
- column="5"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(29)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="97"
- column="9"/>
- </issue>
-
- <issue
- id="SupportAnnotationUsage"
- message="The API level is already known to be at least 29 here from outer annotations"
- errorLine1=" @RequiresApi(Build.VERSION_CODES.Q)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/Wrapper.android.kt"
- line="214"
- column="5"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1="internal fun makeNativePaint() ="
@@ -323,6 +15,17 @@
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness"
+ errorLine1=" infix fun ContentTransform.using(sizeTransform: SizeTransform?) = this.apply {"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"
+ line="293"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="UnknownNullness"
+ message="Should explicitly declare type here since implicit type does not specify nullness"
errorLine1=" internal val currentRecomposeScope: RecomposeScopeImpl?"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -492,7 +195,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>
@@ -503,7 +250,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>
@@ -514,7 +305,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>
@@ -525,7 +360,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>