repo.or.cz
/
fedora-idea.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Groovy: fix inline in GString, replaceWithExpression
[fedora-idea.git]
/
plugins
/
groovy
/
testdata
/
groovy
/
refactoring
/
inlineMethod
/
inlineInGString.test
blob
4c498686ceb69e5734abb3f3e99426394eb9b9b7
1
def foo(int x) {
2
return "foo(x = $x)";
3
}
4
5
print "foo(2) = ${<begin>foo<end>(2)}";
6
-----
7
def foo(int x) {
8
return "foo(x = $x)";
9
}
10
11
print "foo(2) = foo(x = 2)";