Skip to content

Commit cf7b608

Browse files
committed
Remove warning
1 parent d4c338d commit cf7b608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Act/HEVM.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ substRef _ var@(SVar _ _ _) = ERef SStorage var
276276
substRef subst (CVar _ _ x) = case M.lookup x subst of
277277
Just (TExp _ (SVarRef _ _ (Item _ _ ref))) -> ERef SStorage ref
278278
Just (TExp _ (CVarRef _ (Item _ _ ref))) -> ERef SCalldata ref
279-
Just e -> error $ "Internal error: cannot access fields of non-pointer var"
279+
Just _ -> error $ "Internal error: cannot access fields of non-pointer var"
280280
Nothing -> error "Internal error: ill-formed substitution"
281281
substRef subst (SMapping pn sref args) = case substRef subst sref of
282282
ERef k ref -> ERef k $ SMapping pn ref (substArgs subst args)

0 commit comments

Comments
 (0)