JuliaLang/julia — pull request #9294 by jakebolewski (2014-12-10 06:36:53+00:00)
Title: RFC: add the ability to disable syntax deprecation warnings

This add the ability to turn off syntax deprecations in the parser with a command line flag `--no-depwarn` or at runtime:

```julia
julia> a = {1,2,3}
WARNING: deprecated syntax "{a,b, ...}".
Use "Any[a,b, ...]" instead.
julia> a = {1,2,3}

WARNING: deprecated syntax "{a,b, ...}".
Use "Any[a,b, ...]" instead.
3-element Array{Any,1}:
1
2
3

julia> Base.syntax_deprecation_warnings(false)
false

julia> a = {1,2,3}
3-element Array{Any,1}:
1
2
3
```