From 10b3c71fc32cef4fb4867e58ef3b8ced1c5fddf1 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sat, 11 May 2024 22:53:32 -0400 Subject: [PATCH] version bump and changelog --- CHANGELOG.md | 4 ++++ Project.toml | 2 +- src/utils.jl | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a451014..dede286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # News +## v0.6.10 - 2024-05-11 + +- Adjust to an internal changes in Julia 1.12 (see julia#54341). + ## v0.6.9 - 2024-02-13 - Self-referencing functionals (callable structs) are now supported as resumable functions, e.g. `@resumable (f::A)() @yield f.property end`. diff --git a/Project.toml b/Project.toml index 230196a..b174a68 100644 --- a/Project.toml +++ b/Project.toml @@ -5,7 +5,7 @@ license = "MIT" desc = "C# sharp style generators a.k.a. semi-coroutines for Julia." authors = ["Ben Lauwens "] repo = "https://github.com/BenLauwens/ResumableFunctions.jl.git" -version = "0.6.9" +version = "0.6.10" [deps] Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" diff --git a/src/utils.jl b/src/utils.jl index 6976693..aab34ae 100755 --- a/src/utils.jl +++ b/src/utils.jl @@ -182,7 +182,7 @@ function fsmi_generator(world::UInt, source::LineNumberNode, passtype, fsmitype: ci.min_world = min_world ci.max_world = max_world ci.edges = Core.MethodInstance[mi] - if isdefined(Base, :__has_internal_change) && Base.__has_internal_change(v"1.12-alpha", :codeinfonargs) + if isdefined(Base, :__has_internal_change) && Base.__has_internal_change(v"1.12-alpha", :codeinfonargs) # due to julia#54341 src.nargs = 3 src.isva = true end