Skip to content

Commit

Permalink
Add missing case for stuck hComp in Sum type in conv. checking
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasHoefer committed May 23, 2024
1 parent 889ea86 commit 38cfaf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PosTT/Conversion.hs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ instance Conv Neu where
-> (r₀, s₀, TrIntClosure z₀ (VHSum d₀ lbl₀) α₀, k₀) `conv` (r₁, s₁, TrIntClosure z₁ (VHSum d₁ lbl₁) α₁, k₁)
(NHCompSum r₀ s₀ d₀ lbl₀ k₀ tb₀ , NHCompSum r₁ s₁ d₁ lbl₁ k₁ tb₁ )
-> (r₀, s₀, VSum d₀ lbl₀, k₀, tb₀) `conv` (r₁, s₁, VSum d₁ lbl₁, k₁, tb₁)
(NNonConstHCompSum r₀ s₀ d₀ lbl₀ c₀ as₀ tb₀ , NNonConstHCompSum r₁ s₁ d₁ lbl₁ c₁ as₁ tb₁)
-> (r₀, s₀, VSum d₀ lbl₀, VCon c₀ as₀, tb₀) `conv` (r₁, s₁, VSum d₁ lbl₁, VCon c₁ as₁, tb₁)
(k₀ , k₁ ) -> Left $ ConvErrorTm (readBack k₀) (readBack k₁)

instance Conv a => Conv (VSys a) where
Expand Down

0 comments on commit 38cfaf3

Please sign in to comment.