Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/Public.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ function _is_valid_macro_expr(expr::Expr)
return true
end

# TODO: figure out if we actually want to `export`,
# or if we just want to mark as public.
export @public
# Do not export the macro, just declare it as public. This macro is
# only useful in packages and it is bad practice to import every
# symbol with an open-ended `using` in package code, since it can cause
# future import conflicts. Not that it is very likely to happen with
# this specific package and macro, but we shouldn't encourage bad
# practices.
@public @public

end # module Public