Skip to content

Commit 71f78e4

Browse files
committed
Remove connection for typed message dispatcher
1 parent 986f64a commit 71f78e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/typed.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ macro message_dispatcher(name, body)
105105

106106
if context===nothing
107107
if $(esc(i.args[2])) isa RequestType
108-
res = $(esc(i.args[3]))(x, params, msg.token)
108+
res = $(esc(i.args[3]))(params, msg.token)
109109
else
110-
res = $(esc(i.args[3]))(x, params)
110+
res = $(esc(i.args[3]))(params)
111111
end
112112
else
113113
if $(esc(i.args[2])) isa RequestType
114-
res = $(esc(i.args[3]))(x, params, context, msg.token)
114+
res = $(esc(i.args[3]))(params, context, msg.token)
115115
else
116-
res = $(esc(i.args[3]))(x, params, context)
116+
res = $(esc(i.args[3]))(params, context)
117117
end
118118
end
119119

0 commit comments

Comments
 (0)