Skip to content

Commit

Permalink
comment about TypedSlot
Browse files Browse the repository at this point in the history
  • Loading branch information
KDr2 committed Oct 22, 2024
1 parent d176f19 commit 92b3a6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
version:
- '1.7'
- '1'
- '1.11.1'
- 'nightly'
os:
- ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions src/Libtask.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export TArray, tzeros, tfill, TRef # legacy types back compat

@static if isdefined(Core, :TypedSlot) || isdefined(Core.Compiler, :TypedSlot)
# Julia v1.10 removed Core.TypedSlot
# Julia v1.11 removed Core.Compiler.TypedSlot
const TypedSlot = @static if isdefined(Core, :TypedSlot)
Core.TypedSlot
else
Expand Down

0 comments on commit 92b3a6d

Please sign in to comment.