Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow @foo{...} macro calls #34505

Merged
merged 4 commits into from
Jan 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
a couple more tests
  • Loading branch information
stevengj committed Jan 25, 2020
commit a550e2eb1514c9b6d6a67a4a4a7c488ea2014108
6 changes: 5 additions & 1 deletion test/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,8 @@ end
end

# issue 34498
@test :(@foo{bar}) == :(@foo {bar})
@testset "macro calls @foo{...}" begin
@test :(@foo{}) == :(@foo {})
@test :(@foo{bar}) == :(@foo {bar})
@test :(@foo{bar,baz}) == :(@foo {bar,baz})
end