Skip to content

Commit 5913117

Browse files
committed
Test to cover function declaration with var"" syntax
1 parent 0dc7e7b commit 5913117

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parser.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ tests = [
581581
"function f end" => "(function f)"
582582
"function f \n\n end" => "(function f)"
583583
"function \$f end" => "(function (\$ f))"
584+
"function var\".\" end" => "(function (var .))"
584585
"macro f end" => "(macro f)"
585586
# Function argument list
586587
"function f(x,y) end" => "(function (call f x y) (block))"

0 commit comments

Comments
 (0)