Join with assignment: place the result at the assignment
#KT-21172 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8078c5da40
commit
40dd229021
@@ -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) = ""
|
||||
}
|
||||
Reference in New Issue
Block a user