We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8eaab commit 13a6fafCopy full SHA for 13a6faf
1 file changed
toolchain/mfc/params/registry.py
@@ -233,11 +233,7 @@ def register(self, param: ParamDef) -> None:
233
if param.name in self._params:
234
existing = self._params[param.name]
235
if existing.param_type != param.param_type:
236
- raise ValueError(
237
- f"Type mismatch for '{param.name}': "
238
- f"existing type is {existing.param_type!r}, "
239
- f"new type is {param.param_type!r}"
240
- )
+ raise ValueError(f"Type mismatch for '{param.name}': existing type is {existing.param_type!r}, new type is {param.param_type!r}")
241
existing.tags.update(param.tags)
242
for tag in param.tags:
243
self._by_tag[tag].add(param.name)
0 commit comments