diff options
| author | tslil <tslil@posteo.de> | 2026-04-29 20:25:04 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-29 20:35:42 +0100 |
| commit | 79a976266ef75a82b327de5f97dc55bd69baaee7 (patch) | |
| tree | 475ea3d902a2205edadb208fa33e753a4f524657 /src/checker_signature.rs | |
| parent | c579060a7879670d010d649536996bb063dbe689 (diff) | |
correctly handle stuck app cases
Diffstat (limited to 'src/checker_signature.rs')
| -rw-r--r-- | src/checker_signature.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/checker_signature.rs b/src/checker_signature.rs index 9512790..7b07105 100644 --- a/src/checker_signature.rs +++ b/src/checker_signature.rs @@ -274,9 +274,11 @@ impl CheckerState { element: *element.clone(), }) } - Instance::Project { .. } | Instance::App(_, _) => panic!( - "invariant violation: we did not completely expand the inner instance in our app" - ), + Instance::Project { .. } | Instance::App(_, _) => { + // it would appear that we are stuck here, so our only + // choice is to continue to be so + Ok(Instance::App(Box::new(inner), element.clone())) + } } } } |
