You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
### Fixed
14
14
-`Option(3)` works now
15
15
- The constructors `Const{ElementType}(value)` and `Identity{ElementType}(value)` had been removed already, however were still used. Maybe this now gave errors because of newer julia version, don't know, but now everything uses `Const(value)` and `Identity(value)` instead.
16
+
- fixed a couple of disambiguation errors which magically appeared after switching to Julia 1.6
16
17
17
18
### Removed
18
19
-`Option{T}(value::T)` didn't work and is removed now, as it does not provide any benefit anylonger, which is a breaking change
Copy file name to clipboardExpand all lines: src/ContextManager.jl
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,9 @@ end
75
75
# ContextManager is just a wrapper
76
76
# pass through function call syntax
77
77
(c::ContextManager)(cont) = c.f(cont)
78
-
Base.run(cont, c::ContextManager) =c(cont)
78
+
# in principle `cont` could be anything, as anything could be a function, however we have an ambiguity with Base AbstractCmd, and as this is mainly used for do-syntax
Base.promote_rule(::Type{Either{L2, R}}, ::Type{Either{L1, R}}) where {L1, R, L2 <:L1} = Either{L1, R} # we needed to add this because rule A and B are ambiguous otherwise
0 commit comments