Skip to content

Commit fe08cdb

Browse files
authored
Load REPL to populate Docs.doc methods (#273)
This function is defined in Base, but the methods used by Comonicon is defined in REPL. Since Julia 1.11, REPL has been moved out of the system image, and these methods are no longer available.
1 parent dd26a5e commit fe08cdb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Comonicon"
22
uuid = "863f3e99-da2a-4334-8734-de3dacbe5542"
33
authors = ["Roger-luo and contributors"]
4-
version = "1.0.7"
4+
version = "1.0.8"
55

66
[deps]
77
Configurations = "5218b696-f38b-4ac9-8b61-a12ec717816d"

src/Comonicon.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ using Markdown
1111
using ExproniconLite
1212
using OrderedCollections: OrderedDict
1313

14+
# We only load repl in order to get Base.Docs methods defined, see issue #272
15+
using REPL: REPL
16+
1417
export @cast, @main, cmd_error, cmd_exit, @lazyload
1518

1619
include("compat.jl")

0 commit comments

Comments
 (0)