We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a37027 commit b6418dbCopy full SHA for b6418db
src/copyable_task.jl
@@ -87,6 +87,9 @@ function build_callable(sig::Type{<:Tuple})
87
end
88
89
90
+# Note: `position` must be a const field of this mutable struct, rather than
91
+# simply being a mutable field because it must alias a `Ref` in the captures
92
+# field of `mc`. This correspondence is ensured upon construction.
93
mutable struct TapedTask{Ttaped_globals,Tfargs,Tmc<:MistyClosure}
94
taped_globals::Ttaped_globals
95
const fargs::Tfargs
0 commit comments