Package evaluation to test MLStyle on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T13:31:20.695 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.14s ################################################################################ # Installation # Installing MLStyle... Resolving package versions... Installed MLStyle ─ v0.4.17 Updating `~/.julia/environments/v1.14/Project.toml` [d8e11817] + MLStyle v0.4.17 Updating `~/.julia/environments/v1.14/Manifest.toml` [d8e11817] + MLStyle v0.4.17 Installation completed after 1.3s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling project... 9.0 s ✓ TestEnv 1 dependency successfully precompiled in 9 seconds. 27 already precompiled. Precompiling package dependencies... Precompiling project... 0.7 s ✓ DataValueInterfaces 322.6 s ✓ InlineStrings 0.6 s ✓ Reexport 151.6 s ✓ OrderedCollections 1.1 s ✓ DataAPI 1.4 s ✓ Statistics 58.2 s ✓ InvertedIndices 0.5 s ✓ IteratorInterfaceExtensions 27.8 s ✓ MLStyle 26.5 s ✓ LaTeXStrings 2.6 s ✓ Crayons 183.4 s ✓ SentinelArrays 31.1 s ✓ Preferences 2.2 s ✓ Compat 172.6 s ✓ DataStructures 57.0 s ✓ Missings 23.4 s ✓ PooledArrays 0.7 s ✓ TableTraits 31.6 s ✓ PrecompileTools 1.0 s ✓ Compat → CompatLinearAlgebraExt 40.7 s ✓ SortingAlgorithms 150.4 s ✓ Tables 86.3 s ✓ StringManipulation 195.4 s ✓ PrettyTables 278.7 s ✓ DataFrames 25 dependencies successfully precompiled in 1848 seconds. 15 already precompiled. Precompilation completed after 1896.46s ################################################################################ # Testing # Testing MLStyle Status `/tmp/jl_67VNuM/Project.toml` [a93c6f00] DataFrames v1.8.2 [864edb3b] DataStructures v0.19.5 [d8e11817] MLStyle v0.4.17 [8dfed614] Test v1.11.0 Status `/tmp/jl_67VNuM/Manifest.toml` [34da2185] Compat v4.18.1 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.8.2 [864edb3b] DataStructures v0.19.5 [e2d170a0] DataValueInterfaces v1.0.0 [842dd82b] InlineStrings v1.4.5 [41ab1584] InvertedIndices v1.3.1 [82899510] IteratorInterfaceExtensions v1.0.0 [b964fa9f] LaTeXStrings v1.4.0 [d8e11817] MLStyle v0.4.17 [e1d29d7a] Missings v1.2.0 ⌅ [bac558e1] OrderedCollections v1.8.2 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [08abe8d2] PrettyTables v3.3.2 [189a3867] Reexport v1.2.2 [91c51154] SentinelArrays v1.4.10 [a2af1166] SortingAlgorithms v1.2.3 [10745b16] Statistics v1.11.1 [892a3eda] StringManipulation v0.4.4 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.13.0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.5.5+2 [4536629a] OpenBLAS_jll v0.3.33+0 [8e850b90] libblastrampoline_jll v5.15.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... ┌ Warning: No need to use this function anymore since MLStyle v0.4 at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:53 └ @ MLStyle.Extension ~/.julia/packages/MLStyle/SLOsr/src/Extension.Deprecated.jl:22 ┌ Warning: No need to use this function anymore since MLStyle v0.4 │ caller = macro expansion at Extension.Deprecated.jl:23 └ @ Core ~/.julia/packages/MLStyle/SLOsr/src/Extension.Deprecated.jl:23 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =# @when() catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MethodError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MethodError: no method matching var"@when"(::LineNumberNode, ::Module) The function `@when` exists, but no method is defined for this combination of argument types. Closest candidates are: var"@when"(::LineNumberNode, ::Module, !Matched::Any) @ MLStyle ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:206 var"@when"(::LineNumberNode, ::Module, !Matched::Any, !Matched::Any) @ MLStyle ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:212 Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MethodError: no method matching var"@when"(::LineNumberNode, ::Module) The function `@when` exists, but no method is defined for this combination of argument types. Closest candidates are: var"@when"(::LineNumberNode, ::Module, !Matched::Any) @ MLStyle ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:206 var"@when"(::LineNumberNode, ::Module, !Matched::Any, !Matched::Any) @ MLStyle ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:212 Stacktrace: [1] 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 [2] 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 [3] 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] [4] 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 [5] _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 [6] 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] [7] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [8] eval(m::Module, e::Any) @ Core boot.jl:522 [9] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [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 [13] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [14] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [15] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core boot.jl:522 [19] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [20] _start() @ Base client.jl:596 Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =# @when(x, 1) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:213 [2] 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 [3] 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 [4] 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] [5] 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 [6] _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 [7] 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] [8] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [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 [14] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [16] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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 Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =# @when(1, 1) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`") Thrown: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[1:4, 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, 0:-1, 0:-1, 5:8, 9:12, 13:16, 17:17, 0:-1, 0:-1, 0:-1, 0:-1, 18:21, 22:22, 0:-1, 0:-1, 0:-1, 0:-1, 23:26], [2, 6, 10, 14, 3, 7, 11, 15, 4, 8, 12, 16, 5, 9, 13, 17, 1, 22, 23, 24, 25, 26, 28, 29, 30, 31], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(3 => K"Identifier", 2 => K"Identifier", 6 => K"Value", 5 => K"Identifier", 4 => K"Identifier", 1 => K"macrocall", 13 => K"Value", 8 => K"Value", 7 => K"Value", 10 => K"Value", 19 => K"macrocall", 22 => K"Identifier", 24 => K"Value", 20 => K"macrocall", 25 => K"Value", 17 => K"Value", 28 => K"Identifier", 14 => K"Value", 15 => K"Value", 18 => K"macrocall", 11 => K"Value", 21 => K"None", 32 => K"macrocall", 31 => K"Value", 30 => K"Value", 27 => K"None", 29 => K"Value", 23 => K"Value", 16 => K"Value", 26 => K"macrocall", 12 => K"Value", 9 => K"Value"), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 13 => 1, 8 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 7 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 10 => 1, 24 => 1, 25 => 1, 17 => 1, 14 => 1, 15 => 1, 11 => 1, 31 => 1, 30 => 1, 29 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 23 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 16 => 1, 12 => 1, 9 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#)), :var_id => Dict(), :context => Dict(3 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 2 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 6 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 4 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 1 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 8 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 7 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 10 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 19 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 22 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 24 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 25 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 28 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 14 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 15 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 18 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 11 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 21 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 32 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 31 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 30 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 27 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 29 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 23 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 16 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 26 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 12 => [old,SL(EHDbQ0vUx3k,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws]), :syntax_flags => Dict(), :name_val => Dict(3 => "@when", 2 => "@when", 5 => "@when", 4 => "@when", 28 => "@when", 22 => "@when"), :jl_source => Dict(27 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 21 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(3 => 4, 2 => 3, 6 => 7, 5 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =#), 4 => 5, 1 => 18, 13 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 8 => 9, 7 => 8, 10 => 11, 19 => 20, 22 => 2, 24 => 10, 20 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =#), 25 => 14, 17 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#), 28 => 22, 14 => 15, 15 => 16, 18 => 19, 11 => 12, 21 => 1, 32 => 26, 31 => 25, 30 => 24, 27 => 21, 29 => 23, 23 => 6, 16 => 17, 26 => 1, 12 => 13, 9 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#)))), (macrocall @when :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#) 1 1)), (macrocall @when :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#) 1 1), "Error expanding macro", :all, MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`")) MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Not match the form of `@when a = b expr`") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:213 [2] 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 [3] 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 [4] 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] [5] 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 [6] _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 [7] 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] [8] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [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 [14] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [16] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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 Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =# @when(1) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `1` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `1` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:87 [2] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:142 [3] 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 [4] 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 [5] 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] [6] 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 [7] _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 [8] 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] [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [10] eval(m::Module, e::Any) @ Core boot.jl:522 [11] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [12] 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 [13] 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 [14] 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 [15] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =# @when(x) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `x` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `x` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:87 [2] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:142 [3] 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 [4] 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 [5] 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] [6] 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 [7] _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 [8] 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] [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [10] eval(m::Module, e::Any) @ Core boot.jl:522 [11] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [12] 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 [13] 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 [14] 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 [15] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# @when(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# @when()) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `#= /home/pkgeval/.ju` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `#= /home/pkgeval/.ju` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:87 [2] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:142 [3] 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 [4] 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 [5] 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] [6] 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 [7] _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 [8] 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] [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [10] eval(m::Module, e::Any) @ Core boot.jl:522 [11] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [12] 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 [13] 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 [14] 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 [15] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# @when(begin #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# end) catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError Thrown: Base.JuliaLowering.MacroExpansionError MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `begin\n #= /home/p` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @when in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("Expected a let expression, got a `begin\n #= /home/p` at #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =#.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:87 [2] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:142 [3] 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 [4] 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 [5] 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] [6] 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 [7] _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 [8] 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] [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [10] eval(m::Module, e::Any) @ Core boot.jl:522 [11] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [12] 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 [13] 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 [14] 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 [15] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [16] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [17] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 error handles: Test Failed at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:41 Expression: try #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# @eval #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =# @otherwise() catch err #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# while err isa LoadError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:45 =# err = err.error #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:44 =# end #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:47 =# throw(err) end Expected: MLStyle.Err.SyntaxError("@otherwise is only used inside @when block, as a token to indicate default case.") Thrown: Base.JuliaLowering.MacroExpansionError(Base.JuliaLowering.MacroContext(Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}(UnitRange{Int64}[1:2, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 0:-1, 3:4, 5:6, 7:8, 9:9, 0:-1, 0:-1, 10:11, 12:12, 0:-1, 0:-1, 13:14], [2, 6, 3, 7, 4, 8, 5, 9, 1, 14, 15, 16, 18, 19], Dict{Symbol, Dict{Int64, Any}}(:mod => Dict(), :kind => Dict(3 => K"Identifier", 2 => K"Identifier", 6 => K"Value", 5 => K"Identifier", 4 => K"Identifier", 1 => K"macrocall", 13 => K"None", 8 => K"Value", 7 => K"Value", 10 => K"macrocall", 19 => K"Value", 20 => K"macrocall", 17 => K"None", 14 => K"Identifier", 15 => K"Value", 18 => K"Identifier", 11 => K"macrocall", 16 => K"macrocall", 12 => K"macrocall", 9 => K"Value"), :value => Dict(6 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#), 15 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#), 8 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#), 7 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#), 9 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#), 19 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#)), :var_id => Dict(), :context => Dict(3 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 2 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 6 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 4 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 1 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 13 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 8 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 7 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 10 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 19 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 20 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 17 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 14 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 15 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 18 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 11 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws], 16 => [old,SL(6ljOJSic1We,Main.TestModule,SL(EdRrDFjKIyD,Main.TestModule.var"##@when#1061",)),@test_throws]), :syntax_flags => Dict(), :name_val => Dict(3 => "@otherwise", 2 => "@otherwise", 5 => "@otherwise", 4 => "@otherwise", 14 => "@otherwise", 18 => "@otherwise"), :jl_source => Dict(17 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#), 13 => :(#= /source/usr/share/julia/JuliaLowering/src/runtime.jl:69 =#)), :meta => Dict(), :source => Dict(3 => 4, 2 => 3, 6 => 7, 5 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =#), 4 => 5, 1 => 10, 13 => 1, 8 => 9, 7 => 8, 10 => 11, 19 => 15, 20 => 16, 17 => 13, 14 => 2, 15 => 6, 18 => 14, 11 => 12, 16 => 1, 12 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =#), 9 => :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#)))), (macrocall @otherwise :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#))), (macrocall @otherwise :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#)), "Error expanding macro", :all, MLStyle.Err.SyntaxError("@otherwise is only used inside @when block, as a token to indicate default case.")) MacroExpansionError while expanding @otherwise in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("@otherwise is only used inside @when block, as a token to indicate default case.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 caused by: MacroExpansionError while expanding @otherwise in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:42 =# - Error expanding macro Caused by: MLStyle.Err.SyntaxError("@otherwise is only used inside @when block, as a token to indicate default case.") Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/src/StandardPatterns/WhenCases.jl:66 [2] 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 [3] 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 [4] 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] [5] 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 [6] _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 [7] 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] [8] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [9] eval(m::Module, e::Any) @ Core boot.jl:522 [10] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [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 [14] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [15] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [16] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [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 Stacktrace: [1] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [2] eval(m::Module, e::Any) @ Core boot.jl:522 [3] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [4] 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 [5] 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 [6] 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 [7] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [8] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [9] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ none:6 [12] eval(m::Module, e::Any) @ Core boot.jl:522 [13] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [14] _start() @ Base client.jl:596 Test Summary: | Pass Fail Total Time @when | 54 8 62 12.7s docstring | 5 5 0.0s Only @when | 10 10 0.0s @when + @data | 3 3 0.0s when with predicates | 2 2 0.0s @when in @when | 9 9 0.1s @when + @otherwise | 13 13 0.0s @when + @otherwise with many bidings | 10 10 0.1s multiple statements for each case | 2 2 0.0s error handles | 8 8 12.4s RNG of the outermost testset: Random.Xoshiro(0x5cc13c8da9f9a06f, 0x443eeea09ffec325, 0x8a5efbfda63a4d16, 0x8ecac651fd5482e8, 0xc4e460a1b668ffa4) ┌ Info: JuliaLowering threw given input: │ code = │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:1 =# @testcase "@when" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:2 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:2 =# @lift #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:2 =# @data(WhenTest, begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:3 =# │ WhenTest_1(Int) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:4 =# │ WhenTest_2(Int) │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:7 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:7 =# @testset "docstring" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:9 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:9 =# @test 3 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:9 =# @when((a, b) = (1, 2), begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:10 =# │ a + b │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:11 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:11 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:12 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:14 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:14 =# @test 0 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:14 =# @when((a, b) = (), begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:15 =# │ a + b │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:16 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:16 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:17 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:21 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:21 =# @test (1, 2, 3) == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:21 =# @when(let (a, 1) = (1, 1), [b, c, 5] = [2, 3, 5] │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:23 =# │ (a, b, c) │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:26 =# │ x = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:27 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:27 =# @test :int == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:27 =# @when(let (_, _) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:28 =# │ :tuple │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:29 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:29 =# @when begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:29 =# │ ::Float64 = x │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:30 =# │ :float │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:31 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:31 =# @when ::Int = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:32 =# │ :int │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:33 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:33 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:34 =# │ :unknown │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:37 =# │ x = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:38 =# │ y = (1, 2) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:39 =# │ cond1 = true │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:40 =# │ cond2 = true │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:41 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:41 =# @test 3 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:41 =# @when(let cond1.:var"?", (a, b) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:43 =# │ a + b │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:44 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:44 =# @when begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:44 =# │ if cond2 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:44 =# │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:45 =# │ (a, b) = y │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:47 =# │ a + b │ end) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:51 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:51 =# @testset "Only @when" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:52 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:52 =# @test 2 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:52 =# @when(let (a, 1) = (2, 1) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:53 =# │ a │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:55 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:55 =# @test 2 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:55 =# @when((a, 1) = (2, 1), a) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:57 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:57 =# @test 2 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:57 =# @when(let 1 = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:58 =# │ 2 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:60 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:60 =# @test 2 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:60 =# @when(1 = 1, 2) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:62 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:62 =# @test 1 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:62 =# @when(let a = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:63 =# │ a │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:65 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:65 =# @test 1 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:65 =# @when(a = 1, a) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:67 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:67 =# @test nothing === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:67 =# @when(let (a, b) = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:68 =# │ a + b │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:70 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:70 =# @test nothing === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:70 =# @when((a, b) = 1, a + b) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:72 =# │ ab = (2, 3) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:73 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:73 =# @test 5 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:73 =# @when(let (a, b) = ab │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:74 =# │ a + b │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:76 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:76 =# @test 5 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:76 =# @when((a, b) = ab, a + b) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:79 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:79 =# @testset "@when + @data" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:81 =# │ var1 = WhenTest_1(2) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:82 =# │ var2 = WhenTest_2(2) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =# @test 200 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =# @when(let WhenTest_1(x) = begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =# │ var1 │ end, #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:84 =# @inline(WhenAction(x) = begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:84 =# │ 100x │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:85 =# │ WhenAction(x) │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =# @test 200 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =# @when(WhenTest_1(x) = begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =# │ var1 │ end, begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:89 =# │ 100x │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =# @test nothing === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =# @when(let WhenTest_1(x) = begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =# │ var2 │ end, #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:93 =# @inline(WhenAction(x) = begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:93 =# │ 100x │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:94 =# │ WhenAction(x) │ end) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:98 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:98 =# @testset "when with predicates" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =# @test 2 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =# @when(let if 1 > 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =# │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:100 =# │ 2 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:102 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:102 =# @test 3 === #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:102 =# @when(let (a, b) = (1, 2), (1 > 0).:var"?" │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:104 =# │ a + b │ end) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:108 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:108 =# @testset "@when in @when" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:109 =# │ function f1(args...) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:109 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:110 =# │ x = Tuple(args) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:111 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:111 =# @when (a, 1) = x begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:112 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:113 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:113 =# @when (b, 2) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:114 =# │ (2, b) │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:118 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:118 =# @test f1(111, 1) == 111 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:119 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:119 =# @test f1(222, 1) == 222 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:121 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:121 =# @test f1(111, 2) == (2, 111) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:122 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:122 =# @test f1(222, 2) == (2, 222) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:124 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:124 =# @test f1() == nothing │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:126 =# │ function f2(args...) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:126 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:127 =# │ x = Tuple(args) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:128 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:128 =# @when (a, 1) = x begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:129 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:130 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:130 =# @when (b, 2) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:131 =# │ (:b, b) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:132 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:132 =# @when (c, 3) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:133 =# │ (:c, c) │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:136 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:136 =# @test f2(10, 1) == 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:137 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:137 =# @test f2(20, 2) == (:b, 20) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:138 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:138 =# @test f2(30, 3) == (:c, 30) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:139 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:139 =# @test f2() == nothing │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:142 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:142 =# @testset "@when + @otherwise" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:143 =# │ function f1(args...) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:143 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:144 =# │ x = Tuple(args) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:145 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:145 =# @when (a, 1) = x begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:146 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:147 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:147 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:148 =# │ x │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:151 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:151 =# @test f1(1) == (1,) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:152 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:152 =# @test f1(1, 2) == (1, 2) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:153 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:153 =# @test f1(2, 1) == 2 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:155 =# │ function f2(args...) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:155 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:156 =# │ x = Tuple(args) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:157 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:157 =# @when (a, 1) = x begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:158 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:159 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:159 =# @when (b, 2) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:160 =# │ (:b, b) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:161 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:161 =# @when (c, 3) = x │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:162 =# │ (:c, c) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:163 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:163 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:164 =# │ x │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:167 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:167 =# @test f2(1) == (1,) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:168 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:168 =# @test f2(1, 0) == (1, 0) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:169 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:169 =# @test f2(10, 1) == 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:170 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:170 =# @test f2(20, 2) == (:b, 20) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:171 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:171 =# @test f2(30, 3) == (:c, 30) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:173 =# │ xy = (1, 3) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:174 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:174 =# @test 0 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:174 =# @when(let (a, 1) = xy │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:175 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:176 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:176 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:177 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:180 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:180 =# @test 1 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:180 =# @when(let (a, 3) = xy │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:181 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:182 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:182 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:183 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:187 =# │ z = 5 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:188 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:188 =# @test 1 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:188 =# @when(let (a, 3) = xy, 5 = z │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:190 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:191 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:191 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:192 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:195 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:195 =# @test 0 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:195 =# @when(let (a, 1) = xy, 5 = z │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:197 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:198 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:198 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:199 =# │ 0 │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:202 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:202 =# @test 0 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:202 =# @when(let (a, 3) = xy, 6 = z │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:204 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:205 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:205 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:206 =# │ 0 │ end) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:210 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:210 =# @testset "@when + @otherwise with many bidings" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:211 =# │ function f1(xy, z) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:211 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:212 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:212 =# @when let (a, 1) = xy, 5 = z │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:214 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:215 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:215 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:216 =# │ 0 │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:219 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:219 =# @test f1((123, 1), 5) == 123 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:220 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:220 =# @test f1((123, 3), 5) == 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:221 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:221 =# @test f1((123, 1), 1) == 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:223 =# │ function f2(ab, c, d, e) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:223 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:224 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:224 =# @when let (a, 1) = ab, 5 = c │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:226 =# │ (a, c) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:227 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:227 =# @when begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:227 =# │ :cpp = d │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:227 =# │ 2.0 = e │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:228 =# │ (d, e) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:229 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:229 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:230 =# │ 0 │ end │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:233 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:233 =# @test f2((9, 1), 5, :c, 1.0) == (9, 5) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:234 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:234 =# @test f2((9, 1), 5, :cpp, 2.0) == (9, 5) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:235 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:235 =# @test f2((9, 2), 5, :cpp, 2.0) == (:cpp, 2.0) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:237 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:237 =# @test f2((9, 0), 5, :c00, 2.0) == 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:238 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:238 =# @test f2((9, 1), 0, :c00, 2.0) == 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:239 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:239 =# @test f2((9, 0), 5, :cpp, 0.0) == 0 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:240 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:240 =# @test f2((9, 1), 0, :cpp, 0.0) == 0 │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:242 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:242 =# @testset "multiple statements for each case" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:243 =# │ s = (1, 2, 3) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:244 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:244 =# @test 2 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:244 =# @when((a, 2, 3) = s, begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:245 =# │ k = 1 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:246 =# │ if a > 2 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:247 =# │ k *= a │ else │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:249 =# │ k += a │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:251 =# │ k │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:252 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:252 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:253 =# │ throw("") │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:256 =# │ s = (20, 3) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:257 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:257 =# @test 100 == #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:257 =# @when((10, 3) = s, begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:258 =# │ a = 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:259 =# │ a = 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:260 =# │ a = a * a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:261 =# │ a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:262 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:262 =# @otherwise │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:263 =# │ a = 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:264 =# │ a = 10 │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:265 =# │ a = a * a │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:266 =# │ a │ end) │ end │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:269 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:269 =# @testset "error handles" begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =# @test_macro_throws MethodError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =# @when() │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =# @test_macro_throws SyntaxError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =# @when(x, 1) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =# @test_macro_throws SyntaxError("Not match the form of `@when a = b expr`") #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =# @when(1, 1) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =# @test_macro_throws SyntaxError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =# @when(1) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =# @test_macro_throws SyntaxError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =# @when(x) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# @test_macro_throws SyntaxError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# @when(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =# @when()) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# @test_macro_throws SyntaxError #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# @when(begin │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =# │ end) │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =# │ #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =# @test_macro_throws SyntaxError("@otherwise is only used inside @when block, as a token to indicate default case.") #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =# @otherwise() │ end │ end) │ st0 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [macrocall] | │ @testcase :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:1 =#) :: Value | │ "@when" :: Value | │ [block] | │ [macrocall] | │ @lift :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:2 =#) :: Value | │ [macrocall] | │ @data :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:2 =#) :: Value | │ WhenTest :: Identifier | │ [block] | │ [call] | │ WhenTest_1 :: Identifier | │ Int :: Identifier | │ [call] | │ WhenTest_2 :: Identifier | │ Int :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:7 =#) :: Value | │ "docstring" :: Value | │ [block] | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:9 =#) :: Value | │ [call] | │ == :: Identifier | │ 3 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:9 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:11 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:14 =#) :: Value | │ [call] | │ == :: Identifier | │ 0 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:14 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ [tuple] | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:16 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:21 =#) :: Value | │ [call] | │ == :: Identifier | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ 3 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:21 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ [tuple] | │ 1 :: Value | │ 1 :: Value | │ [=] | │ [vect] | │ b :: Identifier | │ c :: Identifier | │ 5 :: Value | │ [vect] | │ 2 :: Value | │ 3 :: Value | │ 5 :: Value | │ [block] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ c :: Identifier | │ [=] | │ x :: Identifier | │ 1 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:27 =#) :: Value | │ [call] | │ == :: Identifier | │ [inert] | │ int :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:27 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ _ :: Identifier | │ _ :: Identifier | │ x :: Identifier | │ [block] | │ [inert] | │ tuple :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:29 =#) :: Value | │ [block] | │ [=] | │ [::] | │ Float64 :: Identifier | │ x :: Identifier | │ [inert] | │ float :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:31 =#) :: Value | │ [=] | │ [::] | │ Int :: Identifier | │ x :: Identifier | │ [inert] | │ int :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:33 =#) :: Value | │ [inert] | │ unknown :: Identifier | │ [=] | │ x :: Identifier | │ 1 :: Value | │ [=] | │ y :: Identifier | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ [=] | │ cond1 :: Identifier | │ true :: Value | │ [=] | │ cond2 :: Identifier | │ true :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:41 =#) :: Value | │ [call] | │ == :: Identifier | │ 3 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:41 =#) :: Value | │ [let] | │ [block] | │ [.] | │ cond1 :: Identifier | │ [inert] | │ ? :: Identifier | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ x :: Identifier | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:44 =#) :: Value | │ [block] | │ [if] | │ cond2 :: Identifier | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ y :: Identifier | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:51 =#) :: Value | │ "Only @when" :: Value | │ [block] | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:52 =#) :: Value | │ [call] | │ == :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:52 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ [tuple] | │ 2 :: Value | │ 1 :: Value | │ [block] | │ a :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:55 =#) :: Value | │ [call] | │ == :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:55 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ [tuple] | │ 2 :: Value | │ 1 :: Value | │ a :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:57 =#) :: Value | │ [call] | │ === :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:57 =#) :: Value | │ [let] | │ [=] | │ 1 :: Value | │ 1 :: Value | │ [block] | │ 2 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:60 =#) :: Value | │ [call] | │ === :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:60 =#) :: Value | │ [=] | │ 1 :: Value | │ 1 :: Value | │ 2 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:62 =#) :: Value | │ [call] | │ === :: Identifier | │ 1 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:62 =#) :: Value | │ [let] | │ [=] | │ a :: Identifier | │ 1 :: Value | │ [block] | │ a :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:65 =#) :: Value | │ [call] | │ === :: Identifier | │ 1 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:65 =#) :: Value | │ [=] | │ a :: Identifier | │ 1 :: Value | │ a :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:67 =#) :: Value | │ [call] | │ === :: Identifier | │ nothing :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:67 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ 1 :: Value | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:70 =#) :: Value | │ [call] | │ === :: Identifier | │ nothing :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:70 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ 1 :: Value | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [=] | │ ab :: Identifier | │ [tuple] | │ 2 :: Value | │ 3 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:73 =#) :: Value | │ [call] | │ === :: Identifier | │ 5 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:73 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ ab :: Identifier | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:76 =#) :: Value | │ [call] | │ === :: Identifier | │ 5 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:76 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ ab :: Identifier | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:79 =#) :: Value | │ "@when + @data" :: Value | │ [block] | │ [=] | │ var1 :: Identifier | │ [call] | │ WhenTest_1 :: Identifier | │ 2 :: Value | │ [=] | │ var2 :: Identifier | │ [call] | │ WhenTest_2 :: Identifier | │ 2 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =#) :: Value | │ [call] | │ === :: Identifier | │ 200 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:83 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [call] | │ WhenTest_1 :: Identifier | │ x :: Identifier | │ [block] | │ var1 :: Identifier | │ [macrocall] | │ @inline :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:84 =#) :: Value | │ [=] | │ [call] | │ WhenAction :: Identifier | │ x :: Identifier | │ [block] | │ [call] | │ * :: Identifier | │ 100 :: Value | │ x :: Identifier | │ [block] | │ [call] | │ WhenAction :: Identifier | │ x :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =#) :: Value | │ [call] | │ === :: Identifier | │ 200 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:88 =#) :: Value | │ [=] | │ [call] | │ WhenTest_1 :: Identifier | │ x :: Identifier | │ [block] | │ var1 :: Identifier | │ [block] | │ [call] | │ * :: Identifier | │ 100 :: Value | │ x :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =#) :: Value | │ [call] | │ === :: Identifier | │ nothing :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:92 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [call] | │ WhenTest_1 :: Identifier | │ x :: Identifier | │ [block] | │ var2 :: Identifier | │ [macrocall] | │ @inline :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:93 =#) :: Value | │ [=] | │ [call] | │ WhenAction :: Identifier | │ x :: Identifier | │ [block] | │ [call] | │ * :: Identifier | │ 100 :: Value | │ x :: Identifier | │ [block] | │ [call] | │ WhenAction :: Identifier | │ x :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:98 =#) :: Value | │ "when with predicates" :: Value | │ [block] | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =#) :: Value | │ [call] | │ === :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:99 =#) :: Value | │ [let] | │ [block] | │ [if] | │ [call] | │ > :: Identifier | │ 1 :: Value | │ 0 :: Value | │ [block] | │ [block] | │ 2 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:102 =#) :: Value | │ [call] | │ === :: Identifier | │ 3 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:102 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ b :: Identifier | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ [.] | │ [call] | │ > :: Identifier | │ 1 :: Value | │ 0 :: Value | │ [inert] | │ ? :: Identifier | │ [block] | │ [call] | │ + :: Identifier | │ a :: Identifier | │ b :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:108 =#) :: Value | │ "@when in @when" :: Value | │ [block] | │ [function] | │ [call] | │ f1 :: Identifier | │ [...] | │ args :: Identifier | │ [block] | │ [=] | │ x :: Identifier | │ [call] | │ Tuple :: Identifier | │ args :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:111 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ x :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:113 =#) :: Value | │ [=] | │ [tuple] | │ b :: Identifier | │ 2 :: Value | │ x :: Identifier | │ [tuple] | │ 2 :: Value | │ b :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:118 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 111 :: Value | │ 1 :: Value | │ 111 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:119 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 222 :: Value | │ 1 :: Value | │ 222 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:121 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 111 :: Value | │ 2 :: Value | │ [tuple] | │ 2 :: Value | │ 111 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:122 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 222 :: Value | │ 2 :: Value | │ [tuple] | │ 2 :: Value | │ 222 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:124 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ nothing :: Identifier | │ [function] | │ [call] | │ f2 :: Identifier | │ [...] | │ args :: Identifier | │ [block] | │ [=] | │ x :: Identifier | │ [call] | │ Tuple :: Identifier | │ args :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:128 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ x :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:130 =#) :: Value | │ [=] | │ [tuple] | │ b :: Identifier | │ 2 :: Value | │ x :: Identifier | │ [tuple] | │ [inert] | │ b :: Identifier | │ b :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:132 =#) :: Value | │ [=] | │ [tuple] | │ c :: Identifier | │ 3 :: Value | │ x :: Identifier | │ [tuple] | │ [inert] | │ c :: Identifier | │ c :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:136 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 10 :: Value | │ 1 :: Value | │ 10 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:137 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 20 :: Value | │ 2 :: Value | │ [tuple] | │ [inert] | │ b :: Identifier | │ 20 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:138 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 30 :: Value | │ 3 :: Value | │ [tuple] | │ [inert] | │ c :: Identifier | │ 30 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:139 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ nothing :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:142 =#) :: Value | │ "@when + @otherwise" :: Value | │ [block] | │ [function] | │ [call] | │ f1 :: Identifier | │ [...] | │ args :: Identifier | │ [block] | │ [=] | │ x :: Identifier | │ [call] | │ Tuple :: Identifier | │ args :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:145 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ x :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:147 =#) :: Value | │ x :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:151 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 1 :: Value | │ [tuple] | │ 1 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:152 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 1 :: Value | │ 2 :: Value | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:153 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ 2 :: Value | │ 1 :: Value | │ 2 :: Value | │ [function] | │ [call] | │ f2 :: Identifier | │ [...] | │ args :: Identifier | │ [block] | │ [=] | │ x :: Identifier | │ [call] | │ Tuple :: Identifier | │ args :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:157 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ x :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:159 =#) :: Value | │ [=] | │ [tuple] | │ b :: Identifier | │ 2 :: Value | │ x :: Identifier | │ [tuple] | │ [inert] | │ b :: Identifier | │ b :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:161 =#) :: Value | │ [=] | │ [tuple] | │ c :: Identifier | │ 3 :: Value | │ x :: Identifier | │ [tuple] | │ [inert] | │ c :: Identifier | │ c :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:163 =#) :: Value | │ x :: Identifier | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:167 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 1 :: Value | │ [tuple] | │ 1 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:168 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 1 :: Value | │ 0 :: Value | │ [tuple] | │ 1 :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:169 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 10 :: Value | │ 1 :: Value | │ 10 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:170 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 20 :: Value | │ 2 :: Value | │ [tuple] | │ [inert] | │ b :: Identifier | │ 20 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:171 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ 30 :: Value | │ 3 :: Value | │ [tuple] | │ [inert] | │ c :: Identifier | │ 30 :: Value | │ [=] | │ xy :: Identifier | │ [tuple] | │ 1 :: Value | │ 3 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:174 =#) :: Value | │ [call] | │ == :: Identifier | │ 0 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:174 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ xy :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:176 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:180 =#) :: Value | │ [call] | │ == :: Identifier | │ 1 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:180 =#) :: Value | │ [let] | │ [=] | │ [tuple] | │ a :: Identifier | │ 3 :: Value | │ xy :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:182 =#) :: Value | │ 0 :: Value | │ [=] | │ z :: Identifier | │ 5 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:188 =#) :: Value | │ [call] | │ == :: Identifier | │ 1 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:188 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 3 :: Value | │ xy :: Identifier | │ [=] | │ 5 :: Value | │ z :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:191 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:195 =#) :: Value | │ [call] | │ == :: Identifier | │ 0 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:195 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ xy :: Identifier | │ [=] | │ 5 :: Value | │ z :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:198 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:202 =#) :: Value | │ [call] | │ == :: Identifier | │ 0 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:202 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 3 :: Value | │ xy :: Identifier | │ [=] | │ 6 :: Value | │ z :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:205 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:210 =#) :: Value | │ "@when + @otherwise with many bidings" :: Value | │ [block] | │ [function] | │ [call] | │ f1 :: Identifier | │ xy :: Identifier | │ z :: Identifier | │ [block] | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:212 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ xy :: Identifier | │ [=] | │ 5 :: Value | │ z :: Identifier | │ [block] | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:215 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:219 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ [tuple] | │ 123 :: Value | │ 1 :: Value | │ 5 :: Value | │ 123 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:220 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ [tuple] | │ 123 :: Value | │ 3 :: Value | │ 5 :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:221 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f1 :: Identifier | │ [tuple] | │ 123 :: Value | │ 1 :: Value | │ 1 :: Value | │ 0 :: Value | │ [function] | │ [call] | │ f2 :: Identifier | │ ab :: Identifier | │ c :: Identifier | │ d :: Identifier | │ e :: Identifier | │ [block] | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:224 =#) :: Value | │ [let] | │ [block] | │ [=] | │ [tuple] | │ a :: Identifier | │ 1 :: Value | │ ab :: Identifier | │ [=] | │ 5 :: Value | │ c :: Identifier | │ [block] | │ [tuple] | │ a :: Identifier | │ c :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:227 =#) :: Value | │ [block] | │ [=] | │ [inert] | │ cpp :: Identifier | │ d :: Identifier | │ [=] | │ 2.0 :: Value | │ e :: Identifier | │ [tuple] | │ d :: Identifier | │ e :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:229 =#) :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:233 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 1 :: Value | │ 5 :: Value | │ [inert] | │ c :: Identifier | │ 1.0 :: Value | │ [tuple] | │ 9 :: Value | │ 5 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:234 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 1 :: Value | │ 5 :: Value | │ [inert] | │ cpp :: Identifier | │ 2.0 :: Value | │ [tuple] | │ 9 :: Value | │ 5 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:235 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 2 :: Value | │ 5 :: Value | │ [inert] | │ cpp :: Identifier | │ 2.0 :: Value | │ [tuple] | │ [inert] | │ cpp :: Identifier | │ 2.0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:237 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 0 :: Value | │ 5 :: Value | │ [inert] | │ c00 :: Identifier | │ 2.0 :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:238 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 1 :: Value | │ 0 :: Value | │ [inert] | │ c00 :: Identifier | │ 2.0 :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:239 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 0 :: Value | │ 5 :: Value | │ [inert] | │ cpp :: Identifier | │ 0.0 :: Value | │ 0 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:240 =#) :: Value | │ [call] | │ == :: Identifier | │ [call] | │ f2 :: Identifier | │ [tuple] | │ 9 :: Value | │ 1 :: Value | │ 0 :: Value | │ [inert] | │ cpp :: Identifier | │ 0.0 :: Value | │ 0 :: Value | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:242 =#) :: Value | │ "multiple statements for each case" :: Value | │ [block] | │ [=] | │ s :: Identifier | │ [tuple] | │ 1 :: Value | │ 2 :: Value | │ 3 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:244 =#) :: Value | │ [call] | │ == :: Identifier | │ 2 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:244 =#) :: Value | │ [=] | │ [tuple] | │ a :: Identifier | │ 2 :: Value | │ 3 :: Value | │ s :: Identifier | │ [block] | │ [=] | │ k :: Identifier | │ 1 :: Value | │ [if] | │ [call] | │ > :: Identifier | │ a :: Identifier | │ 2 :: Value | │ [block] | │ [unknown_head] | │ k :: Identifier | │ a :: Identifier | │ [block] | │ [unknown_head] | │ k :: Identifier | │ a :: Identifier | │ k :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:252 =#) :: Value | │ [call] | │ throw :: Identifier | │ "" :: Value | │ [=] | │ s :: Identifier | │ [tuple] | │ 20 :: Value | │ 3 :: Value | │ [macrocall] | │ @test :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:257 =#) :: Value | │ [call] | │ == :: Identifier | │ 100 :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:257 =#) :: Value | │ [=] | │ [tuple] | │ 10 :: Value | │ 3 :: Value | │ s :: Identifier | │ [block] | │ [=] | │ a :: Identifier | │ 10 :: Value | │ [=] | │ a :: Identifier | │ 10 :: Value | │ [=] | │ a :: Identifier | │ [call] | │ * :: Identifier | │ a :: Identifier | │ a :: Identifier | │ a :: Identifier | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:262 =#) :: Value | │ [=] | │ a :: Identifier | │ 10 :: Value | │ [=] | │ a :: Identifier | │ 10 :: Value | │ [=] | │ a :: Identifier | │ [call] | │ * :: Identifier | │ a :: Identifier | │ a :: Identifier | │ a :: Identifier | │ [macrocall] | │ @testset :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:269 =#) :: Value | │ "error handles" :: Value | │ [block] | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =#) :: Value | │ MethodError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:271 =#) :: Value | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =#) :: Value | │ SyntaxError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:275 =#) :: Value | │ x :: Identifier | │ 1 :: Value | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#) :: Value | │ [call] | │ SyntaxError :: Identifier | │ "Not match the form of `@when a = b expr`" :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:276 =#) :: Value | │ 1 :: Value | │ 1 :: Value | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =#) :: Value | │ SyntaxError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:280 =#) :: Value | │ 1 :: Value | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =#) :: Value | │ SyntaxError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:281 =#) :: Value | │ x :: Identifier | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =#) :: Value | │ SyntaxError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =#) :: Value | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:282 =#) :: Value | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =#) :: Value | │ SyntaxError :: Identifier | │ [macrocall] | │ @when :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:283 =#) :: Value | │ [block] | │ [macrocall] | │ @test_macro_throws :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#) :: Value | │ [call] | │ SyntaxError :: Identifier | │ "@otherwise is only used inside @when block, as a token to indicate default case." :: Value | │ [macrocall] | │ @otherwise :: Identifier | │ :(#= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:286 =#) :: Value | │ │ st1 = nothing │ file = "/home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl" │ line = 1 └ mod = Main.TestModule ERROR: LoadError: MacroExpansionError while expanding @testcase in module Main.TestModule: #= /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:1 =# - Error expanding macro Caused by: Some tests did not pass: 54 passed, 8 failed, 0 errored, 0 broken. Stacktrace: [1] finish(ts::Test.DefaultTestSet; print_results::Bool) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1738 [2] finish(ts::Test.DefaultTestSet) @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1711 [3] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:36 [4] eval(m::Module, e::Any) @ Core boot.jl:522 [5] macro expansion @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:30 [6] 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 [7] 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 [8] 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 [9] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool) @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29 [10] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [11] top-level scope @ ~/.julia/packages/MLStyle/SLOsr/test/runtests.jl:55 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:326 [13] top-level scope @ none:6 [14] eval(m::Module, e::Any) @ Core boot.jl:522 [15] exec_options(opts::Base.JLOptions) @ Base client.jl:321 [16] _start() @ Base client.jl:596 in expression starting at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/when.jl:1 in expression starting at /home/pkgeval/.julia/packages/MLStyle/SLOsr/test/runtests.jl:1 Testing failed after 163.7s ERROR: LoadError: Package MLStyle 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 2105.38s: package has test failures