From f14016a0bca391097e8cd40451e44c8727245883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belmant?= Date: Tue, 29 Apr 2025 19:26:31 +0200 Subject: [PATCH 1/2] Import `typesof` from Base instead of InteractiveUtils `typesof` was defined in Base, and simply used by InteractiveUtils. A recent commit removed the `using` from InteractiveUtils, breaking the import. --- src/reflection/reflection.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflection/reflection.jl b/src/reflection/reflection.jl index 2f715c5..dc9094e 100644 --- a/src/reflection/reflection.jl +++ b/src/reflection/reflection.jl @@ -1,6 +1,6 @@ using Core: CodeInfo, Typeof using Core.Compiler: InferenceState, MethodInstance, svec -using InteractiveUtils: typesof +using Base: typesof if isdefined(Base, :hasgenerator) # VERSION >= v"1.7.0" hasgenerator(x) = Base.hasgenerator(x) From a979de5c473dea360ec45e0486d14fc192e0cd3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belmant?= Date: Tue, 29 Apr 2025 13:28:05 -0400 Subject: [PATCH 2/2] Bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b6fdb46..24b4a1c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "IRTools" uuid = "7869d1d1-7146-5819-86e3-90919afe41df" authors = ["Mike J Innes "] -version = "0.4.14" +version = "0.4.15" [deps] InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"