Skip to content

Commit 42060a0

Browse files
committed
Remove unnecessary import of Core.Ref
1 parent 2055b28 commit 42060a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/macros.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ macro defconstants(prefix::Symbol, expr::Expr)
8888
end
8989

9090
# Build expressions to import all necessary types from the parent module.
91-
push!(imports, :Ref) # explicitly add `Ref`
9291
imports = Expr[Expr(:(.), :(.), :(.), sym) for sym in unique!(imports)]
9392
# Push the imports into the definition body
9493
pushfirst!(defbody, Expr(:import, imports...))

0 commit comments

Comments
 (0)