Skip to content

Commit 45f67d8

Browse files
Thrown fails in nightly because stacktrace type changed, now parameterising it instead
1 parent 61098bc commit 45f67d8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Try.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Try(t::Exception) = Const(t)
1919

2020

2121
"""
22-
Thrown(exception::Exception, stacktrace::Vector)
22+
Thrown(exception, stacktrace)
2323
2424
Thrown is like Exception, however can also cary stacktraces
2525
"""
26-
struct Thrown{E} <: Exception
26+
struct Thrown{E, S} <: Exception
2727
exception::E
28-
stacktrace::Vector
28+
stacktrace::S
2929
end
3030

3131
# == controversy https://github.com/JuliaLang/julia/issues/4648

0 commit comments

Comments
 (0)