Intention action to convert string to raw string
(half of KT-5208)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// ERROR: Missing 'getValue(Nothing?, KProperty<*>)' method on delegate of type 'String'
|
||||
// ACTION: To raw string literal
|
||||
|
||||
package b
|
||||
|
||||
|
||||
+1
@@ -3,6 +3,7 @@
|
||||
// ACTION: Add parameter to constructor 'Foo'
|
||||
// ACTION: Create secondary constructor
|
||||
// ERROR: Too many arguments for public constructor Foo(a: Int) defined in Foo
|
||||
// ACTION: To raw string literal
|
||||
|
||||
class Foo(a: Int)
|
||||
|
||||
|
||||
+1
@@ -3,5 +3,6 @@
|
||||
// ACTION: Create test
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
// ACTION: To raw string literal
|
||||
|
||||
@ArrAnn(<caret>"123") class My
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Change parameter 'z' type of function 'foo' to '(Int) -> String'" "false"
|
||||
// ACTION: To raw string literal
|
||||
|
||||
fun foo(y: Int = 0, z: (Int) -> String = {""}) {
|
||||
foo {
|
||||
|
||||
Reference in New Issue
Block a user