JuliaSyntax.jl icon indicating copy to clipboard operation
JuliaSyntax.jl copied to clipboard

`export (@foo)` not allowed while `export (foo)` is.

Open LilithHafner opened this issue 2 years ago • 2 comments

I think export (foo) should also not be allowed (hopefully nobody uses it)

LilithHafner avatar Jul 28 '23 14:07 LilithHafner

It's not widely used at least: https://juliahub.com/ui/Search?q=export%20%28&type=code&f=.jl.

pfitzseb avatar Jul 29 '23 18:07 pfitzseb

I read that search result as 10 distinct packages using unnecessary parentheses in this syntactic construction, which is definitely not nobody, so I guess we have to keep support for now. :/

LilithHafner avatar Jul 30 '23 17:07 LilithHafner