Skip to content

Commit

Permalink
Merge pull request #25698 from fredrikekre/fe/using-warning
Browse files Browse the repository at this point in the history
fix `using A.B` and `using A: B` warnings
  • Loading branch information
StefanKarpinski authored Jan 23, 2018
2 parents a0fe64c + 2670b3b commit bca94e4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
5 changes: 2 additions & 3 deletions stdlib/Dates/src/Dates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ for more information.
"""
module Dates

import ..Base: ==, div, fld, mod, rem, gcd, lcm, +, -, *, /, %
import ..Base.broadcast
using Base.Printf.@sprintf
import Base: ==, div, fld, mod, rem, gcd, lcm, +, -, *, /, %, broadcast
using Printf: @sprintf

using Base.Iterators

Expand Down
3 changes: 2 additions & 1 deletion stdlib/Distributed/src/clusterserialize.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Serialization: serialize_cycle, deserialize_cycle, writetag,
__deserialized_types__, serialize_typename, deserialize_typename,
serialize_typename, deserialize_typename,
TYPENAME_TAG, reset_state, serialize_type
using Serialization.__deserialized_types__

import Serialization: object_number, lookup_object_number, remember_object

Expand Down
2 changes: 1 addition & 1 deletion stdlib/Printf/src/Printf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export @printf, @sprintf
using Base.Printf: _printf, is_str_expr, fix_dec, DIGITS, print_fixed, decode_dec, decode_hex,
ini_hex, ini_HEX, print_exp_a, decode_0ct, decode_HEX, ini_dec, print_exp_e,
decode_oct, _limit
using Unicode.textwidth
using Unicode: textwidth

"""
@printf([io::IOStream], "%Fmt", args...)
Expand Down
2 changes: 1 addition & 1 deletion stdlib/Profile/src/Profile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Profile

import Base.StackTraces: lookup, UNKNOWN, show_spec_linfo
using Base: iszero
using Base.Printf.@sprintf
using Printf: @sprintf

export @profile

Expand Down
2 changes: 1 addition & 1 deletion stdlib/SharedArrays/src/SharedArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using Serialization: serialize_cycle_header, serialize_type, writetag, UNDEFREF_
import Serialization: serialize, deserialize
import Distributed: RRID, procs
import Base.Filesystem: JL_O_CREAT, JL_O_RDWR, S_IRUSR, S_IWUSR
using Base.Printf.@sprintf
using Printf: @sprintf

export SharedArray, SharedVector, SharedMatrix, sdata, indexpids, localindices

Expand Down
2 changes: 1 addition & 1 deletion stdlib/SuiteSparse/src/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import LinearAlgebra: (\),
issuccess, issymmetric, ldltfact, ldltfact!, logdet

using SparseArrays
using Base.Printf.@printf
using Printf: @printf

import Libdl

Expand Down

0 comments on commit bca94e4

Please sign in to comment.