Skip to content

Commit

Permalink
remove show on the generated context type
Browse files Browse the repository at this point in the history
this causes catastrofic invalidations and cannot be worth it
  • Loading branch information
KristofferC committed Nov 17, 2023
1 parent 5fe09b7 commit e483e92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/context.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ macro context(_Ctx)
return quote
struct $CtxName <: AbstractContextName end

Base.show(io::IO, ::Type{$CtxName}) = print(io, "nametype(", $(string(_Ctx)), ")")

const $Ctx{$M,$T<:Union{Nothing,Tag}} = Context{$CtxName,$M,$T}
const $CtxTagged = ContextTagged{$T,$CtxName} where {$T<:Tag}

Expand Down

0 comments on commit e483e92

Please sign in to comment.