Join with assignment: place the result at the assignment

#KT-21172 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-09-26 12:51:34 +03:00
committed by Mikhail Glukhikh
parent 8078c5da40
commit 40dd229021
14 changed files with 128 additions and 9 deletions
@@ -0,0 +1,9 @@
fun test(repo: Repository, commitMessage: String) {
val hash: String<caret>
repo.git("add --verbose .")
hash = repo.git("commit -m $commitMessage")
}
class Repository {
fun git(s: String) = ""
}