Skip to content

Commit c15ea7c

Browse files
JeffBezansonmbauman
authored andcommitted
show a few more operators (!=, !==, >=, <=) quoted. fixes JuliaLang#11394
1 parent a356ef3 commit c15ea7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/show.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ show_unquoted(io::IO, ex, ::Int,::Int) = show(io, ex)
259259
## AST printing constants ##
260260

261261
const indent_width = 4
262-
const quoted_syms = Set{Symbol}([:(:),:(::),:(:=),:(=),:(==),:(===),:(=>)])
262+
const quoted_syms = Set{Symbol}([:(:),:(::),:(:=),:(=),:(==),:(!=),:(===),:(!==),:(=>),:(>=),:(<=)])
263263
const uni_ops = Set{Symbol}([:(+), :(-), :(!), :(¬), :(~), :(<:), :(>:), :(), :(), :()])
264264
const expr_infix_wide = Set([:(=), :(+=), :(-=), :(*=), :(/=), :(\=), :(&=),
265265
:(|=), :($=), :(>>>=), :(>>=), :(<<=), :(&&), :(||), :(<:), :(=>)])

0 commit comments

Comments
 (0)