Make Formatter Happy
Continuous Integration / Grammar Tests (push) Has been cancelled
Continuous Integration / Library Tests (push) Has been cancelled
Continuous Integration / Library Format Tests (push) Has been cancelled

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-04-30 18:41:01 -04:00
parent ed976c7855
commit a84e778e79
5 changed files with 42 additions and 19 deletions
+8 -4
View File
@@ -55,7 +55,7 @@ extension Control: LibraryCallable {
// Skip those with mismatching types.
if !val.type().eq(key_val.type()) {
continue;
continue
}
/// ASSUME: All matches are exact.
@@ -80,9 +80,13 @@ extension Control: LibraryCallable {
return (.Ok(P4TableHitMissValue.Miss), control_execution)
}
switch Call(body: call_body, withArguments: arguments, withParameters: self.parameters, inExecution: control_execution) {
case (.Ok(let r), let updated_execution): return (r, updated_execution)
case (.Error(let e), let updated_execution): return (P4TableHitMissValue.Miss, updated_execution.setError(error: e))
switch Call(
body: call_body, withArguments: arguments, withParameters: self.parameters,
inExecution: control_execution)
{
case (.Ok(let r), let updated_execution): return (r, updated_execution)
case (.Error(let e), let updated_execution):
return (P4TableHitMissValue.Miss, updated_execution.setError(error: e))
}
}
}