[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
#KT-64989
This commit is contained in:
committed by
Space Team
parent
5b11308d1b
commit
7eab4b672d
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt47986Default.kt:9:13: warning: type parameter for a type argument K can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
|
||||
val x = buildFoo {
|
||||
^
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt47986Disabled.kt:10:13: warning: type parameter for a type argument K can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
|
||||
val x = buildFoo {
|
||||
^
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt47986_2.kt:11:13: warning: type parameter for a type argument K can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
|
||||
val x = buildFoo { // can't infer
|
||||
^
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt47986_3.kt:9:13: warning: type parameter for a type argument K can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
|
||||
val x = buildFoo {
|
||||
^
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/kt51464.kt:12:15: warning: type parameter for a type argument R can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
|
||||
flowOf(1).transform { doEmit(this) }
|
||||
^
|
||||
^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user