You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> styled"\\\n"
ERROR: LoadError: MethodError: no method matching lastindex(::Nothing)
The function `lastindex` exists, but no method is defined for this combination of argument types.
Closest candidates are:
lastindex(::Any, !Matched::Any)
@ Base abstractarray.jl:427
lastindex(!Matched::Base64.Buffer)
@ Base64 ~/julia/usr/share/julia/stdlib/v1.11/Base64/src/buffer.jl:19
lastindex(!Matched::LazyString)
@ Base strings/lazy.jl:93
...
Stacktrace:
[1] last(a::Nothing)
@ Base ./abstractarray.jl:527
[2] (::StyledStrings.var"#escaped!#44")(state::@NamedTuple{…}, i::Int64, char::Char)
@ StyledStrings ~/julia/usr/share/julia/stdlib/v1.11/StyledStrings/src/stylemacro.jl:218
[3] (::StyledStrings.var"#run_state_machine!#66"{…})(state::@NamedTuple{…})
@ StyledStrings ~/julia/usr/share/julia/stdlib/v1.11/StyledStrings/src/stylemacro.jl:641
[4] var"@styled_str"(__source__::LineNumberNode, __module__::Module, raw_content::String)
@ StyledStrings ~/julia/usr/share/julia/stdlib/v1.11/StyledStrings/src/stylemacro.jl:669
in expression starting at REPL[8]:1
Some type information was truncated. Use `show(err)` to see complete types.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: