Skip to content

ArgMacros is broken on Julia v1.12.0-rc2 #11

@burtonjosh

Description

@burtonjosh

The following example from the documentation errors with Julia version 1.12.0-rc2:

julia> versioninfo()
Julia Version 1.12.0-rc2
Commit 72cbf019d04 (2025-09-06 12:00 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 12 × Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
  GC: Built with stock GC
Threads: 8 default, 1 interactive, 8 GC (on 12 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8
  JULIA_NUM_WORKERS = 5

julia> using ArgMacros

julia> @inlinearguments begin
           @argumentrequired String foo "-f" "--foo"
           @argumentdefault String "lorem ipsum" bar "--bar"
           @argumentflag verbose "-v"
           @positionalrequired String input "input_file"
           @positionaloptional String output "output_file"
       end
ERROR: UndefVarError: `splitargs` not defined in `ArgMacros`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1
 [2] macro expansion
   @ ~/.julia/dev/ArgMacros/src/macros.jl:37 [inlined]
 [3] macro expansion
   @ REPL[2]:2 [inlined]
 [4] macro expansion
   @ ~/.julia/dev/ArgMacros/src/macros.jl:187 [inlined]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions