function foo(x::T) where {T <: AbstractString, S <: AbstractString}
return S
end
Executing it we get
julia> foo("hello")
ERROR: UndefVarError: S not defined
Stacktrace:
[1] foo(::String) at /mnt/c/Users/Kristoffer/Debugging/file.jl:2
[2] top-level scope at none:0
Consider
Executing it we get
Iron debugging it we get: