Skip to content

Commit d10c504

Browse files
committed
fix function_name for where syntax
1 parent ca3664a commit d10c504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/functions.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ function_name(sig::EXPR{Curly}) = function_name(sig.args[1])
390390
function function_name(sig::EXPR{BinarySyntaxOpCall})
391391
if sig.args[2] isa EXPR{OP} where OP <: OPERATOR{DotOp}
392392
function_name(sig.args[3])
393+
elseif sig.args[2] isa EXPR{OP} where OP <: OPERATOR{WhereOp}
394+
function_name(sig.args[1])
393395
else
394396
function_name(sig.args[2])
395397
end

0 commit comments

Comments
 (0)