Skip to content

Commit 3cfecc6

Browse files
author
gancherj
committed
Fix regression
1 parent 18006f2 commit 3cfecc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Typing.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ initDetFuncs = withNormalizedTys $ M.fromList [
245245
l <- coveringLabel t
246246
case nt^.val of
247247
NT_Enc t' -> do
248+
b1 <- flowsTo (ignore def) l advLbl
248249
b2 <- flowsTo (ignore def) (nameLbl k) advLbl
249-
if ((not b2)) then do
250+
if (b1 && (not b2)) then do
250251
-- Honest
251252
debug $ pretty "Honest dec"
252253
return $ TOption t'

0 commit comments

Comments
 (0)