Skip to content

Commit 4025983

Browse files
Blake EasleyBlake Easley
Blake Easley
authored and
Blake Easley
committed
Renaming.sh: rename nesting functions
These are invalid function names, and the updated treesitter grammar will not parse it
1 parent af90251 commit 4025983

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/fixtures/renaming.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ done < somefile.txt
121121

122122
# Complex nesting affects self-assignment handling
123123

124-
1() {
124+
f1() {
125125
local var="var"
126126

127-
2() (
127+
f2() (
128128
var=$var
129129

130-
3() {
130+
f3() {
131131
declare var="$var"
132132
}
133133
)

0 commit comments

Comments
 (0)