diff --git a/src/explore.jl b/src/explore.jl index 98c1d76..bb77f23 100644 --- a/src/explore.jl +++ b/src/explore.jl @@ -292,7 +292,7 @@ julia> generate_funcnames([:Base, :Foo, :bar]) function generate_funcnames(funccall::FunctionName) calls = Vector{FunctionName}(undef, length(funccall.parts) - 1) for i = length(funccall.parts):-1:2 - calls[i-1] = funccall.parts[i:end] + calls[i-1] = FunctionName(funccall.parts[i:end]...) end calls end diff --git a/test/helpers.jl b/test/helpers.jl index 236e7f0..e16a7fb 100644 --- a/test/helpers.jl +++ b/test/helpers.jl @@ -56,6 +56,9 @@ function testee(expr::Any, expected_references, expected_definitions, expected_f original_hash = expr_hash(expr) result = ExpressionExplorer.compute_symbolreferences(expr; configuration) + # should not throw: + ReactiveNode(result) + new_hash = expr_hash(expr) if original_hash != new_hash error("\n== The expression explorer modified the expression. Don't do that! ==\n")