File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ function trace_function_definition(mod, expr; tessera=false)
250250 internal_fn = MacroTools. splitdef(expr)
251251 orig_fname = internal_fn[:name]
252252
253- tessera_name = tessera ? orig_fname : nothing
253+ tessera_name = tessera ? String( orig_fname) : nothing
254254
255255 isfunctor = Meta. isexpr(orig_fname, :(:: ))
256256 fname = gensym(Symbol(orig_fname, :internal))
@@ -277,7 +277,7 @@ function trace_function_definition(mod, expr; tessera=false)
277277
278278 if isempty(new_fn[:kwargs])
279279 traced_call_expr = :($ (traced_call)(
280- $ (fname), $ (argnames... ); tessera_name= $ (String( tessera_name) )
280+ $ (fname), $ (argnames... ); tessera_name= $ (tessera_name)
281281 ))
282282 untraced_call_expr = :($ (fname)($ (argnames... )))
283283 else
@@ -287,7 +287,7 @@ function trace_function_definition(mod, expr; tessera=false)
287287 (; $ (kws... )),
288288 $ (fname),
289289 $ (argnames... );
290- tessera_name= $ (String( tessera_name) ),
290+ tessera_name= $ (tessera_name),
291291 ))
292292 untraced_call_expr = :(Core. kwcall((; $ (kws... )), $ (fname), $ (argnames... )))
293293 end
You can’t perform that action at this time.
0 commit comments