Skip to content

Commit 8084833

Browse files
committed
Revert "Shorter stacktrace"
This reverts commit 9b9426e. Even though this printing is lovely to the eye, overloading show(::IO, ::Type{SomeType}) has been known to cause subtle problems in the past and suspected of causing them quite recently.
1 parent 2a3f734 commit 8084833

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RuntimeGeneratedFunctions"
22
uuid = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com> and contributors"]
4-
version = "0.4.1"
4+
version = "0.4.0"
55

66
[deps]
77
ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04"

src/RuntimeGeneratedFunctions.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ struct RuntimeGeneratedFunction{moduletag,id,argnames}
2121
end
2222
end
2323

24-
function Base.show(io::IO, ::Type{<:RuntimeGeneratedFunction{mod,id,arg}}) where {mod,id,arg}
25-
print(io, "RuntimeGeneratedFunction{$arg}")
26-
end
27-
28-
# don't override typeof
29-
function Base.show(io::IO, ::MIME"text/plain", ::Type{<:RuntimeGeneratedFunction{mod,id,arg}}) where {mod,id,arg}
30-
print(io, "RuntimeGeneratedFunction{$mod, $id, $arg}")
31-
end
32-
3324
"""
3425
@RuntimeGeneratedFunction(function_expression)
3526

0 commit comments

Comments
 (0)