Intention action to convert string to raw string

(half of KT-5208)
This commit is contained in:
Valentin Kipyatkov
2016-02-20 14:05:13 +01:00
parent 86c551b27b
commit 3d422b47cb
24 changed files with 189 additions and 0 deletions
@@ -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
@@ -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)
@@ -3,5 +3,6 @@
// ACTION: Create test
// ACTION: Make internal
// ACTION: Make private
// ACTION: To raw string literal
@ArrAnn(<caret>"123") class My
@@ -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 {