refactoring and reducing complexity

This commit is contained in:
bQUARKz 2026-03-10 08:46:41 +00:00
parent 3b71fda264
commit b7c99eec42
Signed by: bquarkz
SSH Key Fingerprint: SHA256:Z7dgqoglWwoK6j6u4QC87OveEq74WOhFN+gitsxtkf8

View File

@ -51,7 +51,7 @@ final class PbsFlowTypeOps {
case OPTIONAL -> compatible(actual.inner(), expected.inner());
case RESULT -> compatible(actual.errorType(), expected.errorType()) && compatible(actual.inner(), expected.inner());
case TUPLE -> tupleCompatible(actual, expected);
case UNKNOWN -> true;
default -> throw new IllegalStateException("Unexpected value: " + actual.kind());
};
}