Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Mar 21, 2022
1 parent f52572a commit acf6a32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/TryExperimental/src/TryExperimental.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ end # baremodule Cause

module Internal

import ..TryExperimental: @and_then, @or_else
using ..TryExperimental: TryExperimental, Causes
using Try

Expand All @@ -58,6 +59,7 @@ for n in names(TryExperimental; all = true)
@eval import TryExperimental: $n
end

using Base.Meta: isexpr
using Base: IteratorEltype, HasEltype, IteratorSize, HasLength, HasShape

include("sugars.jl")
Expand Down
4 changes: 1 addition & 3 deletions src/Try.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function or_else end

module Internal

import ..Try: @and_return, @?, @and_then, @or_else, @function
import ..Try: @and_return, @?, @function
using ..Try:
AbstractResult,
ConcreteErr,
Expand All @@ -78,8 +78,6 @@ using ..Try:
Try
using ..Try.InternalPrelude: _ConcreteResult, _IsOkError

using Base.Meta: isexpr

include("ExternalDocstrings.jl")
using .ExternalDocstrings: @define_docstrings

Expand Down

0 comments on commit acf6a32

Please sign in to comment.