Skip to content

Commit

Permalink
explicitly import parse (#78)
Browse files Browse the repository at this point in the history
* explicitly import `parse`

 This avoids a warning when loading the package while creating an used explicit import.  The former occurs for all users, the latter only for developers of this package.

* thinko in comment
  • Loading branch information
palday authored Jul 23, 2024
1 parent dc83d67 commit 2362f41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ExplicitImports.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module ExplicitImports

using JuliaSyntax, AbstractTrees
# suppress warning about Base.parse collision, even though parse is never used
# this avoids a warning when loading the package while creating an unused explicit import
# the former occurs for all users, the latter only for developers of this package
using JuliaSyntax: parse
using AbstractTrees: parent
using TOML: parsefile
using Compat: Compat, @compat
Expand Down

0 comments on commit 2362f41

Please sign in to comment.