Package evaluation to test Match on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T14:53:37.924 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.75s ################################################################################ # Installation # Installing Match... Resolving package versions... Installed OrderedCollections ─ v1.8.2 Installed MacroTools ───────── v0.5.16 Installed Match ────────────── v2.4.1 Updating `~/.julia/environments/v1.14/Project.toml` [7eb4fadd] + Match v2.4.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [1914dd2f] + MacroTools v0.5.16 [7eb4fadd] + Match v2.4.1 ⌅ [bac558e1] + OrderedCollections v1.8.2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 1.55s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 9.7 s ✓ TestEnv 1 dependency successfully precompiled in 10 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 4.3 s ✓ MacroTools 153.4 s ✓ OrderedCollections 65.5 s ✓ Match 3 dependencies successfully precompiled in 223 seconds. 8 already precompiled. Precompilation completed after 268.29s ################################################################################ # Testing # Testing Match Status `/tmp/jl_vacBNs/Project.toml` [1914dd2f] MacroTools v0.5.16 [7eb4fadd] Match v2.4.1 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_vacBNs/Manifest.toml` [1914dd2f] MacroTools v0.5.16 [7eb4fadd] Match v2.4.1 ⌅ [bac558e1] OrderedCollections v1.8.2 [2a0f44e3] Base64 v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [f489334b] StyledStrings v1.13.0 [8dfed614] Test v1.11.0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... stack trace for MatchFailure: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:62 Expression: top.line == line Evaluated: 6 == 55 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 could not bind a type: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:76 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[33:36, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 63:65, 0:-1, 0:-1, 66:66, 0:-1, 67:69, 70:70, 71:74], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 72, 75, 74, 76, 77, 78, 68, 69, 73, 79], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 22 => K"Value", 10 => K"call", 38 => K"::", 14 => K"Identifier", 42 => K"Value", 18 => K"Value", 63 => K"Value", 55 => K"Value"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 22 => 2, 19 => 2, 20 => 2, 72 => 2, 17 => 1, 42 => 1, 15 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 55 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 62 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 47 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 67 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 13 => "Foo", 35 => "Unknown", 28 => "=>", 14 => "Foo", 11 => "Foo", 60 => "=>"…), :jl_source => Dict(53 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 67 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 10 => 23, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 42 => 43, 18 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#), 63 => 40, 55 => 6…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#) (call Foo 1 2) (block (call => (:: Unknown) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =#) (call Foo 1 2) (block (call => (:: Unknown) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:72: Could not bind `Unknown` as a type (due to `UndefVarError(:Unknown, 0x000000000000a8f6, Main.Rematch2Tests)`).")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 could not bind a type: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:67 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:71 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:72: Could not bind `Unknown` as a type (due to `UndefVarError(:Unknown, 0x000000000000a8f6, Main.Rematch2Tests)`). Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_type(location::LineNumberNode, T::Symbol, input::Symbol, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:60 [3] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:201 [4] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [5] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [6] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [7] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [8] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [9] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [10] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [11] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [12] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [13] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [14] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [15] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [16] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [18] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [19] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core boot.jl:522 [22] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [23] _start() @ Base client.jl:596 caused by: UndefVarError: `Unknown` not defined in `Main.Rematch2Tests` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] bind_type(location::LineNumberNode, T::Symbol, input::Symbol, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:58 [4] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:201 [5] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [6] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [7] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [8] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [9] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [10] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [11] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [12] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [13] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [14] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [15] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [16] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [20] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core boot.jl:522 [23] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [24] _start() @ Base client.jl:596 using abstract type for struct pattern: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:94 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[41:44, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 73:75, 0:-1, 0:-1, 0:-1, 0:-1, 76:78, 0:-1, 79:81, 82:82, 83:86], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 86, 87, 84, 88, 89, 90, 78, 79, 83, 91], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 22 => K"Value", 10 => K"call", 83 => K"call", 91 => K"block", 38 => K"Value", 14 => K"Identifier", 42 => K"Value", 18 => K"Value"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#), 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#), 22 => 2, 19 => 2, 20 => 2, 86 => 1, 17 => 1, 38 => 1, 42 => 2…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 87 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 55 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 13 => "Foo", 89 => "nothing", 80 => "Foo", 73 => "nothing", 35 => "Term", 28 => "=>"…), :jl_source => Dict(61 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 77 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#), 10 => 23, 83 => 67, 91 => 75, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#), 42 => 43, 18 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#)…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#) (call Foo 1 2) (block (call => (call Term 1 2) nothing)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =#) (call Foo 1 2) (block (call => (call Term 1 2) nothing))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:90: The type `Main.Rematch2Tests.Term` is an abstract type. Consider defining an extractor `Match.extract(::Type{Main.Rematch2Tests.Term`, ::Val{2}, _)`.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 using abstract type for struct pattern: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:85 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:89 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:90: The type `Main.Rematch2Tests.Term` is an abstract type. Consider defining an extractor `Match.extract(::Type{Main.Rematch2Tests.Term`, ::Val{2}, _)`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:261 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 using abstract type for struct pattern with named parameter: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:111 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[45:48, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 0:-1, 0:-1, 81:82, 83:84, 0:-1, 85:87, 88:88, 89:92], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 90, 93, 89, 94, 95, 96, 83, 84, 88, 97], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 95 => K"Identifier", 22 => K"Value", 10 => K"call", 83 => K"Identifier", 91 => K"Identifier", 38 => K"Identifier", 14 => K"Identifier", 42 => K"Value"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#), 92 => 1, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#), 22 => 2, 19 => 2, 20 => 2, 86 => 1, 17 => 1, 42 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 87 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 13 => "Foo", 95 => "nothing", 89 => "=>", 83 => "@match", 72 => "=>", 35 => "Term"…), :jl_source => Dict(82 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 65 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 95 => 78, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#), 10 => 23, 83 => 66, 91 => 74, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#), 42 => 43…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#) (call Foo 1 2) (block (call => (call Term (kw x 1)) nothing)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =#) (call Foo 1 2) (block (call => (call Term (kw x 1)) nothing))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:107: The type `Main.Rematch2Tests.Term` is an abstract type. Struct patterns can only be used with concrete types.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 using abstract type for struct pattern with named parameter: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:102 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:106 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:107: The type `Main.Rematch2Tests.Term` is an abstract type. Struct patterns can only be used with concrete types. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:263 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 missing type or extractor: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:129 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[65:68, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 109:110, 111:113, 0:-1, 0:-1, 0:-1, 114:116, 117:118, 119:122], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 121, 123, 124, 125, 122, 126, 108, 109, 113, 127], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(111 => K"Value", 2 => K"Identifier", 6 => K"Value", 107 => K"None", 103 => K"Value", 115 => K"Identifier", 95 => K"Identifier", 119 => K"Identifier", 22 => K"Value", 10 => K"call"…), :value => Dict(111 => 1, 6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#), 109 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#), 103 => false, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#), 22 => 2, 19 => 2, 89 => 1, 20 => 2…), :var_id => Dict(), :context => Dict(111 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 107 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 103 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 115 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 119 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(2 => "@match", 115 => "Unknown", 95 => "y", 119 => "x", 38 => "x", 14 => "Foo", 42 => "y", 55 => "y", 124 => "_", 67 => "=>"…), :jl_source => Dict(107 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 85 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(111 => 89, 2 => 3, 6 => 7, 107 => 85, 103 => 72, 115 => 93, 95 => 41, 119 => 97, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#), 10 => 23…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#) (call Foo 1 2) (block (call => (call Unknown x y) (tuple x y)) (call => _ false)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =#) (call Foo 1 2) (block (call => (call Unknown x y) (tuple x y)) (call => _ false))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:124: Could not bind `Unknown` as a type (due to `UndefVarError(:Unknown, 0x000000000000a8f6, Main.Rematch2Tests)`).")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 missing type or extractor: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:119 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:123 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:124: Could not bind `Unknown` as a type (due to `UndefVarError(:Unknown, 0x000000000000a8f6, Main.Rematch2Tests)`). Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_type(location::LineNumberNode, T::Symbol, input::Symbol, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:60 [3] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:238 [4] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [5] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [6] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [7] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [8] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [9] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [10] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [11] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [12] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [13] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [14] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [15] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [16] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [18] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [19] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core boot.jl:522 [22] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [23] _start() @ Base client.jl:596 caused by: UndefVarError: `Unknown` not defined in `Main.Rematch2Tests` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ none:1 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] bind_type(location::LineNumberNode, T::Symbol, input::Symbol, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:58 [4] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:238 [5] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [6] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [7] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [8] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [9] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [10] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [11] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [12] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [13] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [14] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [15] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [16] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [20] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core boot.jl:522 [23] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [24] _start() @ Base client.jl:596 location of error for redundant field patterns 1: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:147 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[65:68, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 108:109, 110:112, 0:-1, 0:-1, 113:114, 115:117, 118:118, 119:122], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 123, 124, 114, 122, 125, 126, 108, 109, 113, 127], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(111 => K"Value", 2 => K"Identifier", 6 => K"Value", 107 => K"None", 103 => K"tuple", 115 => K"Identifier", 95 => K"Identifier", 119 => K"Identifier", 22 => K"Value", 10 => K"call"…), :value => Dict(111 => 1, 6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#), 109 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#), 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#), 22 => 2, 19 => 2, 89 => 1, 20 => 2, 17 => 1…), :var_id => Dict(), :context => Dict(111 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 107 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 103 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 115 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 119 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(2 => "@match", 115 => "Foo", 95 => "x1", 119 => "x", 38 => "x", 14 => "Foo", 42 => "x1", 55 => "x2", 124 => "x2", 67 => "x1"…), :jl_source => Dict(107 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 85 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(111 => 89, 2 => 3, 6 => 7, 107 => 85, 103 => 64, 115 => 93, 95 => 42, 119 => 97, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#), 10 => 23…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) (kw x x2)) (tuple x1 x2))))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) (kw x x2)) (tuple x1 x2)))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:143: Pattern `Foo(x = x1, x = x2)` has duplicate named arguments [:x, :x].")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 location of error for redundant field patterns 1: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:138 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:142 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:143: Pattern `Foo(x = x1, x = x2)` has duplicate named arguments [:x, :x]. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:228 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 location of error for redundant field patterns 2: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:164 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[57:60, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 96:97, 0:-1, 0:-1, 98:99, 100:102, 0:-1, 103:105, 106:106, 107:110], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 108, 111, 104, 112, 113, 114, 98, 99, 103, 115], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(111 => K"kw", 2 => K"Identifier", 6 => K"Value", 107 => K"Identifier", 103 => K"call", 115 => K"block", 95 => K"block", 22 => K"Value", 10 => K"call", 83 => K"call"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#), 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#), 101 => 1, 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#), 22 => 2, 19 => 2, 113 => 1, 20 => 2, 17 => 1, 15 => 1…), :var_id => Dict(), :context => Dict(111 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 107 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 103 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 115 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(2 => "@match", 107 => "x1", 38 => "x", 14 => "Foo", 42 => "x1", 87 => "x1", 55 => "x2", 34 => "Foo", 54 => "x2", 3 => "@match"…), :jl_source => Dict(97 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 77 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(111 => 91, 2 => 3, 6 => 7, 107 => 87, 103 => 83, 115 => 95, 95 => 26, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#), 10 => 23, 83 => 10…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) (kw x x2)) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) (kw x x2)) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:160: Pattern `Foo(x = x1, x = x2)` has duplicate named arguments [:x, :x].")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 location of error for redundant field patterns 2: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:155 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:159 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:160: Pattern `Foo(x = x1, x = x2)` has duplicate named arguments [:x, :x]. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:228 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 mix positional and named field patterns: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:181 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[49:52, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 0:-1, 86:87, 0:-1, 88:90, 0:-1, 91:93, 94:94, 95:98], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 98, 99, 94, 100, 101, 102, 88, 89, 93, 103], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 103 => K"block", 95 => K"Identifier", 22 => K"Value", 10 => K"call", 83 => K"Value", 91 => K"Value", 38 => K"Identifier", 14 => K"Identifier"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#), 92 => 2, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#), 101 => 1, 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#), 22 => 2, 19 => 2, 89 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#), 83 => 1, 20 => 2…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 103 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 99 => "x2", 5 => "@match", 4 => "@match", 96 => "x", 13 => "Foo", 95 => "Foo", 76 => "=>", 72 => "Foo"…), :jl_source => Dict(69 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 87 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 103 => 85, 95 => 77, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#), 10 => 23, 83 => 56, 91 => 73, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#)…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) x2) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =#) (call Foo 1 2) (block (call => (call Foo (kw x x1) x2) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:177: Pattern `Foo(x = x1, x2)` mixes named and positional arguments.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 mix positional and named field patterns: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:172 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:176 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:177: Pattern `Foo(x = x1, x2)` mixes named and positional arguments. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:231 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 wrong field count: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:198 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[45:48, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 81:84, 0:-1, 85:87, 88:88, 89:92], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 92, 93, 89, 94, 95, 96, 83, 84, 88, 97], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 95 => K"Value", 22 => K"Value", 10 => K"call", 83 => K"Identifier", 91 => K"Identifier", 38 => K"Identifier", 14 => K"Identifier", 42 => K"Identifier"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#), 95 => 1, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#), 22 => 2, 19 => 2, 20 => 2, 86 => 1, 17 => 1, 15 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 87 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 13 => "Foo", 92 => "y", 89 => "=>", 83 => "@match", 76 => "z", 72 => "=>"…), :jl_source => Dict(82 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 65 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 95 => 78, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#), 10 => 23, 83 => 66, 91 => 74, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#), 42 => 43…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#) (call Foo 1 2) (block (call => (call Foo x y z) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =#) (call Foo 1 2) (block (call => (call Foo x y z) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:194: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 3 fields.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 wrong field count: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:189 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:193 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:194: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 3 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 field not found: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:215 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[45:48, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 0:-1, 0:-1, 0:-1, 81:82, 83:84, 0:-1, 85:87, 88:88, 89:92], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 90, 93, 89, 94, 95, 96, 83, 84, 88, 97], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 95 => K"Value", 22 => K"Value", 10 => K"call", 83 => K"Identifier", 91 => K"Identifier", 38 => K"Identifier", 14 => K"Identifier", 42 => K"Value"…), :value => Dict(75 => 1, 6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#), 92 => 1, 95 => 1, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#), 22 => 2, 19 => 2, 20 => 2, 86 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 87 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 13 => "Foo", 89 => "=>", 83 => "@match", 72 => "=>", 35 => "Foo", 28 => "=>"…), :jl_source => Dict(82 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 65 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 95 => 78, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#), 10 => 23, 83 => 66, 91 => 74, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#), 42 => 43…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#) (call Foo 1 2) (block (call => (call Foo (kw z 1)) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =#) (call Foo 1 2) (block (call => (call Foo (kw z 1)) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:211: Type `Main.Rematch2Tests.Foo` has no field `z`.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 field not found: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:206 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:210 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:211: Type `Main.Rematch2Tests.Foo` has no field `z`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:287 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 multiple splats: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:232 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[49:52, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 1:3 … 0:-1, 86:86, 0:-1, 0:-1, 87:87, 88:90, 0:-1, 91:93, 94:94, 95:98], [11, 15, 19, 12, 16, 20, 13, 17, 21, 14 … 97, 99, 94, 100, 101, 102, 88, 89, 93, 103], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 103 => K"block", 95 => K"Identifier", 22 => K"Value", 10 => K"vect", 83 => K"Value", 91 => K"Value", 38 => K"...", 14 => K"Value"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#), 13 => 1, 92 => 3, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#), 101 => 1, 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#), 22 => 3, 19 => 3, 89 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#), 83 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 103 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 95 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 83 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 91 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 42 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 98 => "z", 95 => "x", 80 => "z", 76 => "=>", 35 => "x", 28 => "=>"…), :jl_source => Dict(69 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 87 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 103 => 85, 95 => 77, 22 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#), 10 => 23, 83 => 56, 91 => 73, 38 => 39, 14 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#)…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#) (vect 1 2 3) (block (call => (vect (... x) y (... z)) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =#) (vect 1 2 3) (block (call => (vect (... x) y (... z)) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:228: More than one `...` in pattern `[x..., y, z...]`.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 multiple splats: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:223 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:227 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:228: More than one `...` in pattern `[x..., y, z...]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:416 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 unrecognized pattern syntax: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:249 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[29:32, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1 … 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 58:60, 0:-1, 61:63, 64:64, 65:68], [21, 25, 29, 22, 26, 30, 23, 27, 31, 24 … 68, 69, 66, 70, 71, 72, 63, 64, 65, 73], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 22 => K"Identifier", 10 => K"Value", 38 => K"Value", 42 => K"call", 14 => K"block", 18 => K"Identifier", 63 => K"Identifier", 55 => K"Identifier"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =#), 13 => 1, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =#), 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =#), 10 => 1, 38 => 1, 39 => 1, 11 => 1, 52 => 1, 58 => 1…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 22 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 14 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 18 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 55 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 62 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 22 => "+", 19 => "=>", 24 => "+", 25 => "x", 17 => "=>", 28 => "x"…), :jl_source => Dict(62 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 49 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 22 => 23, 10 => 11, 38 => 39, 42 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:245 =#), 14 => 43, 18 => 19, 63 => 50, 55 => 25…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =#) 1 (block (call => (call + x y) 1)))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =#) 1 (block (call => (call + x y) 1))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:245: Unrecognized pattern syntax `x + y`.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 unrecognized pattern syntax: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:240 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:244 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:245: Unrecognized pattern syntax `x + y`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:491 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Int64, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Int64, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Int64, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 bad match case syntax: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:300 Expression: ex isa LoadError Evaluated: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[29:32, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1 … 0:-1, 0:-1, 0:-1, 0:-1, 58:60, 0:-1, 61:61, 62:63, 64:64, 65:68], [17, 21, 25, 18, 22, 26, 19, 23, 27, 20 … 67, 68, 70, 69, 71, 72, 63, 64, 65, 73], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(2 => K"Identifier", 6 => K"Value", 22 => K"Value", 10 => K"Value", 38 => K"block", 42 => K"=", 14 => K"block", 18 => K"Identifier", 63 => K"Identifier", 55 => K"Value"…), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =#), 13 => 1, 8 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =#), 22 => 2, 7 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =#), 10 => 1, 24 => 2, 25 => 2, 35 => 4, 28 => 2…), :var_id => Dict(), :context => Dict(2 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 6 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 22 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 10 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 38 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 14 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 18 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 63 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 55 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with], 62 => [old,SL(5BvIQ7536Bn,Main.Rematch2Tests,),@with]…), :syntax_flags => Dict(), :name_val => Dict(3 => "@match", 2 => "@match", 5 => "@match", 4 => "@match", 19 => "+", 20 => "+", 17 => "+", 18 => "+", 63 => "@match", 66 => "+"…), :jl_source => Dict(62 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 49 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(2 => 3, 6 => 7, 22 => 23, 10 => 11, 38 => 39, 42 => :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:296 =#), 14 => 43, 18 => 19, 63 => 50, 55 => 25…)…)), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =#) 1 (block (= (call + 2 2) (block 4))))), (macrocall @match :(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =#) 1 (block (= (call + 2 2) (block 4)))), "Error expanding macro", :all, ErrorException("/home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:296: Unrecognized @match case syntax: `2 + 2 = begin\n #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:296 =#\n 4\n end`.")) isa LoadError Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 bad match case syntax: Error During Test at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:291 Got exception outside of a @test FieldError: type Base.JuliaLowering.MacroExpansionError has no field `error`, available fields: `context`, `ex`, `msg`, `position`, `err` Stacktrace: [1] getproperty(x::Base.JuliaLowering.MacroExpansionError, f::Symbol) @ Base Base_compiler.jl:58 [2] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [3] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [4] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [5] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [6] top-level scope @ none:6 [7] eval(m::Module, e::Any) @ Core boot.jl:522 [8] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [9] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:295 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:296: Unrecognized @match case syntax: `2 + 2 = begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:296 =# 4 end`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:698 [3] build_automaton_core(value::Int64, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [4] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [5] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Int64, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [6] handle_match_cases(location::LineNumberNode, mod::Module, value::Int64, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [7] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [8] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [9] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [10] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [11] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [12] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [13] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [14] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [16] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [17] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core boot.jl:522 [20] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [21] _start() @ Base client.jl:596 Match Struct by field names: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:340 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:340 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:340 =# @match(Foo(1, 2), begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:341 =# Foo(x = x1, x = x2) => (x1, x2) end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:340 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:341: Pattern `Foo(x = x1, x = x2)` has duplicate named arguments [:x, :x]. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:228 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 Splats: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:458 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:458 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:458 =# @match(foo, begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:459 =# Foo(x...) => :nope end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:458 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:459: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 1 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Symbol, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Symbol, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Symbol, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 Splats: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:463 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:463 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:463 =# @match([1, 2, 3], begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:464 =# [a..., b, c...] => :nope end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:463 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:464: More than one `...` in pattern `[a..., b, c...]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:416 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 Splats: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:466 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:466 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:466 =# @match([1, 2, 3], begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:467 =# (a..., b, c...) => :nope end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:466 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:467: More than one `...` in pattern `(a..., b, c...)`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:416 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 structs matching all fields: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519 =# @eval(#= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519 =# @match(Foo(x) = begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519 =# Foo(1, 2) end)) == (1, 2) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:519: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 1 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] handle_match_eq(location::LineNumberNode, mod::Module, expr::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:11 [4] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:75 [5] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [6] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [7] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [8] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [9] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [10] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [11] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [13] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core boot.jl:522 [17] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [18] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 structs matching all fields: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520 =# @match(Foo(x) = begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520 =# Foo(1, 2) end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:520: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 1 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] handle_match_eq(location::LineNumberNode, mod::Module, expr::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:11 [4] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:75 [5] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [6] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [7] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [8] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [9] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [10] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [11] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [13] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core boot.jl:522 [17] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [18] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 structs matching all fields: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521 =# @match(Foo(x, y, z) = begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521 =# Foo(1, 2) end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:521: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 3 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] handle_match_eq(location::LineNumberNode, mod::Module, expr::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:11 [4] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:75 [5] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [6] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [7] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [8] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [9] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [10] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [11] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [13] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core boot.jl:522 [17] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [18] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 structs matching all fields: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:524 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:524 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:524 =# @match(Foo(1, 2), begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:525 =# Foo(x, y) => :ok #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:526 =# Foo(x) => :nope end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:524 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:526: The type `Main.Rematch2Tests.Foo` has 2 fields but the pattern expects 1 fields. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:270 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 abstract type: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:531 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:531 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:531 =# @match(Foo(1, 2), begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:532 =# Term(x, y) => :nope end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:531 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:532: The type `Main.Rematch2Tests.Term` is an abstract type. Consider defining an extractor `Match.extract(::Type{Main.Rematch2Tests.Term`, ::Val{2}, _)`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:261 [3] bind_case(case_number::Int64, location::LineNumberNode, case::Expr, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:706 [4] build_automaton_core(value::Expr, source_cases::Vector{Any}, location::LineNumberNode, predeclared_temps::Vector{Any}, binder::Match.BinderContext) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:15 [5] build_automaton(location::LineNumberNode, mod::Module, value::Any, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:149 [6] build_deduplicated_automaton(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:158 [inlined] [7] handle_match_cases(location::LineNumberNode, mod::Module, value::Expr, body::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/match_cases_opt.jl:479 [8] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:114 [9] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [10] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [11] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [12] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [13] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [14] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [15] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [18] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core boot.jl:522 [21] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [22] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 Miscellanea: Test Failed at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681 Expression: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681 =# @eval #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681 =# @match(a + b = begin #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681 =# x end) Expected: LoadError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @match in module Main.Rematch2Tests: #= /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681 =# - Error expanding macro Caused by: /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:681: Unrecognized pattern syntax `a + b`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] bind_pattern!(location::LineNumberNode, source::Expr, input::Symbol, binder::Match.BinderContext, assigned::Base.ImmutableDict{Symbol, Symbol}) @ Match ~/.julia/packages/Match/nz2tn/src/binding.jl:491 [3] handle_match_eq(location::LineNumberNode, mod::Module, expr::Expr) @ Match ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:11 [4] macro expansion @ ~/.julia/packages/Match/nz2tn/src/matchmacro.jl:75 [5] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:252 [6] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358 [7] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408 [inlined] [8] lower_step(iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}, mod::Module, world::UInt64; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:72 [9] _eval(mod::Module, iter::Base.JuliaLowering.LoweringIterator{Dict{Symbol, Dict{Int64, Any}}}; soft_scope::Nothing) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:730 [10] eval(mod::Module, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}; macro_world::UInt64, soft_scope::Nothing, opts::@Kwargs{expr_compat_mode::Bool}) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/eval.jl:718 [inlined] [11] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [13] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core boot.jl:522 [17] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [18] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/Match/nz2tn/test/rematch.jl:6 [2] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [3] top-level scope @ ~/.julia/packages/Match/nz2tn/test/runtests.jl:10 [4] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [5] top-level scope @ none:6 [6] eval(m::Module, e::Any) @ Core boot.jl:522 [7] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [8] _start() @ Base client.jl:596 Test Summary: | Pass Fail Error Total Time More @match tests | 92 23 12 127 21.2s Assignments in the value do not leak out | 2 2 0.4s Assignments in a where clause do not leak to the rule's result | 3 3 0.0s A pure type pattern | 4 4 0.5s bound variables may be used in subsequent interpolations | 3 3 0.0s diagnostics produced are excellent | 7 13 12 32 14.8s stack trace for MatchFailure | 3 1 4 6.6s could not bind a type | 1 1 2 7.0s using abstract type for struct pattern | 1 1 2 0.0s using abstract type for struct pattern with named parameter | 1 1 2 0.0s missing type or extractor | 1 1 2 0.1s location of error for redundant field patterns 1 | 1 1 2 0.3s location of error for redundant field patterns 2 | 1 1 2 0.1s mix positional and named field patterns | 1 1 2 0.0s wrong field count | 1 1 2 0.1s field not found | 1 1 2 0.0s multiple splats | 1 1 2 0.0s unrecognized pattern syntax | 1 1 2 0.4s type binding changed 1 | 2 2 0.0s type binding changed 2 | 2 2 0.0s bad match case syntax | 1 1 2 0.1s Match Struct by field names | 9 1 10 0.7s non-struct Matches | 3 3 0.0s logical expressions with branches | 9 9 0.0s Splats | 11 3 14 0.8s Inference in branches | 2 2 0.0s Nested Guards | 3 3 0.5s structs matching all fields | 4 4 0.2s abstract type | 1 1 0.0s extractor function | 1 1 0.9s extractor function that might fail | 3 3 0.1s nested extractor function | 1 1 0.4s extract to override type match | 1 1 0.3s extract to override type match 2 | 1 1 0.2s Named tuples | 12 12 0.0s Miscellanea | 8 1 9 0.1s Interpolated Values | 9 9 1.0s RNG of the outermost testset: Random.Xoshiro(0x975fc7ef119204eb, 0x5c4f7c8086542716, 0x9cdd92fd21c57263, 0x1ee146c1383bf6a3, 0x94cb0baad70d7491) ERROR: LoadError: Some tests did not pass: 92 passed, 23 failed, 12 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/Match/nz2tn/test/rematch.jl:6 in expression starting at /home/pkgeval/.julia/packages/Match/nz2tn/test/runtests.jl:1 Testing failed after 324.38s ERROR: LoadError: Package Match errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3247 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 [8] include(mod::Module, _path::String) @ Base Base.jl:325 [9] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [10] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 637.57s: package tests unexpectedly errored