Skip to content

Commit

Permalink
Sort names.
Browse files Browse the repository at this point in the history
  • Loading branch information
danluu committed Oct 3, 2014
1 parent 3603b8a commit 0465bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function fullname(m::Module)
end
end

names(m::Module, all::Bool, imported::Bool) = ccall(:jl_module_names, Array{Symbol,1}, (Any,Int32,Int32), m, all, imported)
names(m::Module, all::Bool, imported::Bool) = sort(ccall(:jl_module_names, Array{Symbol,1}, (Any,Int32,Int32), m, all, imported))
names(m::Module, all::Bool) = names(m, all, false)
names(m::Module) = names(m, false, false)
names(t::DataType) = collect(t.names)
Expand Down

0 comments on commit 0465bc0

Please sign in to comment.