Skip to content

Commit 16d28d9

Browse files
authored
Import typesof from Base instead of InteractiveUtils (#132)
* 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. * Bump version
1 parent dd1f2c2 commit 16d28d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "IRTools"
22
uuid = "7869d1d1-7146-5819-86e3-90919afe41df"
33
authors = ["Mike J Innes <[email protected]>"]
4-
version = "0.4.14"
4+
version = "0.4.15"
55

66
[deps]
77
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"

src/reflection/reflection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Core: CodeInfo, Typeof
22
using Core.Compiler: InferenceState, MethodInstance, svec
3-
using InteractiveUtils: typesof
3+
using Base: typesof
44

55
if isdefined(Base, :hasgenerator) # VERSION >= v"1.7.0"
66
hasgenerator(x) = Base.hasgenerator(x)

0 commit comments

Comments
 (0)