We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2055b28 commit 42060a0Copy full SHA for 42060a0
1 file changed
src/macros.jl
@@ -88,7 +88,6 @@ macro defconstants(prefix::Symbol, expr::Expr)
88
end
89
90
# Build expressions to import all necessary types from the parent module.
91
- push!(imports, :Ref) # explicitly add `Ref`
92
imports = Expr[Expr(:(.), :(.), :(.), sym) for sym in unique!(imports)]
93
# Push the imports into the definition body
94
pushfirst!(defbody, Expr(:import, imports...))
0 commit comments