We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9defd68 commit ccf0903Copy full SHA for ccf0903
src/pdl/pdl_interpreter.py
@@ -1433,12 +1433,12 @@ def step_call(
1433
if not isinstance(closure, FunctionBlock):
1434
msg = f"Type error: {block.call} is of type {type(closure)} but should be a function."
1435
if isinstance(closure, str) and isinstance(scope.get(closure), FunctionBlock):
1436
- msg += " You might want to call `${ "+ block.call + " }`."
+ msg += " You might want to call `${ " + block.call + " }`."
1437
raise PDLRuntimeError(
1438
msg,
1439
loc=append(loc, "call"),
1440
trace=block.model_copy(),
1441
- )
+ )
1442
args_loc = append(loc, "args")
1443
type_errors = type_check_args(args, closure.function, args_loc)
1444
if len(type_errors) > 0:
0 commit comments