Skip to content

Commit 0077e16

Browse files
committed
Add Core.had_free_typevars rule
This is needed for closure support in 1.12 due to JuliaLang/julia#40985
1 parent a9b4584 commit 0077e16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rulesets/Core/core.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
if isdefined(Core, :_typevar)
1414
@non_differentiable Core._typevar(::Any...)
1515
end
16+
if isdefined(Core, :has_free_typevars)
17+
@non_differentiable Core.has_free_typevars(::Any)
18+
end
1619
@non_differentiable TypeVar(::Any...)
1720
@non_differentiable UnionAll(::Any, ::Any)
1821

0 commit comments

Comments
 (0)