-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
There are various discussions all over the place (JuliaGizmos/Interact.jl#161, JuliaGizmos/Interact.jl#158 (comment), JuliaLang/julia#21141, JuliaLang/julia#21307), but it makes sense to have some kind of issue filed here. For the record, the following simple test fails on 0.6:
julia> using Reactive
julia> s = Signal(1)
input: Signal{Int64}(1, nactions=0)
julia> m = map(val->val, s, init=0)
map(input): Signal{Int64}(0, nactions=0)
julia> value(m)
0
julia> push!(s, 2)
Failed to push!
julia>
to node
input: Signal{Int64}(2, nactions=1)
error at node: map(input): Signal{Int64}(0, nactions=0)
MethodError: no method matching (::##3#4)(::Int64)
The applicable method may be too new: running in world age 21667, while current world is 21668.
Closest candidates are:
#3(::Any) at REPL[3]:1 (method too new to be called from this world context.)
(::Reactive.##15#16{##3#4,Tuple{Reactive.Signal{Int64}}})(::Reactive.Signal{Int64}, ::Int64) at /home/tim/.julia/v0.6/Reactive/src/operators.jl:40
do_action(::Reactive.Action, ::Int64) at /home/tim/.julia/v0.6/Reactive/src/core.jl:161
run(::Int64) at /home/tim/.julia/v0.6/Reactive/src/core.jl:239
macro expansion at /home/tim/.julia/v0.6/Reactive/src/core.jl:281 [inlined]
(::Reactive.##12#13)() at ./task.jl:335Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels