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 cdd9ef1 commit 76a9f9fCopy full SHA for 76a9f9f
src/constructors.jl
@@ -67,7 +67,14 @@ function substitute_broadcast(
67
syms[n] = _ciₙ::Symbol
68
else
69
syms[n] = Symbol('%', n)
70
- ciₙ::Expr = _ciₙ::Expr
+ #ciₙ::Expr = _ciₙ::Expr
71
+ if _ciₙ isa Expr
72
+ ciₙ = _ciₙ
73
+ elseif _ciₙ isa GlobalRef
74
+ ciₙ = Expr(:globalref, _ciₙ.mod, _ciₙ.name)
75
+ else
76
+ error("Unexpected type in ci: $(typeof(_ciₙ))")
77
+ end
78
ciₙargs = ciₙ.args
79
f = first(ciₙargs)
80
if ciₙ.head === :(=)
0 commit comments