From c64cff243ec65e33b61185c3d7df6e9a8ba2ace0 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Fri, 30 Dec 2022 20:51:54 +0300 Subject: [PATCH] FuncAttring.Async -> FuncAttrib.Coro --- tpl/macro.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tpl/macro.twig b/tpl/macro.twig index 7a87a44..8a16cd1 100644 --- a/tpl/macro.twig +++ b/tpl/macro.twig @@ -3,7 +3,7 @@ var fn = new FuncSymbolNative("{{o.name|ns_last}}", {%- if has_token(o, 'bhl_coroutine') -%} - FuncAttrib.Async, + FuncAttrib.Coro, {%- endif ~%} {{ o.returntype|bhl_type_ref }}, @@ -48,7 +48,7 @@ { var fn = new FuncSymbolNative("{{o.name|ns_last}}", {%- if has_token(o, 'bhl_coroutine') -%} - FuncAttrib.Async, + FuncAttrib.Coro, {%- endif ~%} {{o.returntype|bhl_type_ref}}, {{ count_default_args(o) }},