Skip to content

Commit 2d72993

Browse files
lkdvosclaude
andcommitted
Ignore JET's uncorrelated union split in the tree transformer bodies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fb57c40 commit 2d72993

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎test/other/jet.jl‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ const IGNORED = (
1010
# `AnyFrameMethod` rather than `LastFrameMethod`: the `@debug` sits inside a `taskforeach`
1111
# closure, so the innermost frame is a gensym'd closure name rather than the constructor.
1212
JET.AnyFrameMethod(:GenericTreeTransformer),
13+
# `no matching method found convert(::Type{UniqueTreeTransformer}, ::GenericTreeTransformer)`
14+
# (and vice versa) in the uncached bodies of `treebraider` and `treetransposer`: for abstract
15+
# spaces, JET cannot correlate the `FusionStyle` branch of the return type annotation, which
16+
# `@cached` keeps on the body, with that of `TreeTransformer`.
17+
(
18+
JET.LastFrameMethod(only(methods(TensorKit.MemoizationKit.implementation, Tuple{typeof(f), Vararg{Any}})))
19+
for f in (TensorKit.treebraider, TensorKit.treetransposer)
20+
)...,
1321
)
1422

1523
# also gated in runtests.jl; JET < 0.12 does not define `JET_AVAILABLE`

0 commit comments

Comments
 (0)