def _resolve_args(self, env, args):
pos_args, kw_args = args<EOL>def check_value(v):<EOL><INDENT>if isinstance(v, AstTypeRef):<EOL><INDENT>return self._resolve_type(env, v)<EOL><DEDENT>else:<EOL><INDENT>return v<EOL><DEDENT><DEDENT>new_pos_args = [check_value(pos_arg) for pos_arg in pos_args]<EOL>new_kw_args = {k: check_value(v) for k, v in kw_args.items()}<EOL>return new_pos_args, new_kw_args<EOL>
Resolves type references in data type arguments to data types in
the environment.