Skip to content

Commit

Permalink
Where are the ghcPrimStep tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinreact committed Oct 11, 2024
1 parent e0b8905 commit f77cc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clash-ghc/src-ghc/Clash/GHC/Evaluator/Primitive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4369,7 +4369,7 @@ ghcPrimStep tcm isSubj pInfo tys args mach = case primName pInfo of
, _ : p : f : z : xs : _ <- args
, DC _ vArgs <- xs
, Right k' <- runExcept (tyNatSize tcm kTy)
-> case k' of
-> error "DO WE EVER TEST THIS?" {-case k' of
0 -> reduce (valToTerm z)
_ -> let (tyArgs,_) = splitFunForallTy ty
(tyArgs',_) = splitFunForallTy (Either.rights tyArgs !! 2)
Expand Down Expand Up @@ -4405,7 +4405,7 @@ ghcPrimStep tcm isSubj pInfo tys args mach = case primName pInfo of
,Left (valToTerm z)
,Left (Either.lefts vArgs !! 2)
])
]
] -}
where
is0 = mScopeNames mach
"Clash.Sized.Vector.dtfold"
Expand Down

0 comments on commit f77cc34

Please sign in to comment.