diff --git a/idl/idl_api.ysl2 b/idl/idl_api.ysl2 index 532ce83..a93ecac 100644 --- a/idl/idl_api.ysl2 +++ b/idl/idl_api.ysl2 @@ -90,7 +90,7 @@ def "func:idl_type_get_resolved_type" { choose { when "$idltypekind = 'deftype'" - result "func:idl_type_get_type_of_deftype($idltype)"; + result "func:idl_type_get_resolved_type(func:idl_type_get_type_of_deftype($idltype))"; otherwise result "$idltype"; }