# HG changeset patch # User Phil Thompson # Date 1658047276 -3600 # Node ID 323d39a2d6020e224e82f894c694add0621714ee # Parent 1430b279a3c90da85f2cadd97ec833deae14f446 Fixed the instantiation of template values. diff -r 1430b279a3c9 -r 323d39a2d602 sipbuild/generator/parser/instantiations.py --- a/sipbuild/generator/parser/instantiations.py Sun Jun 26 10:01:41 2022 +0100 +++ b/sipbuild/generator/parser/instantiations.py Sun Jul 17 09:41:16 2022 +0100 @@ -434,7 +434,8 @@ proto_name = proto_value.value.result.definition if proto_name.is_simple: - i_name = ScopedName.parse(template_string(proto_name, expansions)) + i_name = ScopedName.parse( + template_string(proto_name.base_name, expansions)) i_result = Argument(type=ArgumentType.DEFINED, definition=i_name) i_fcall = FunctionCall(result=i_result, args=proto_value.value.args)