X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FUtils%2FGhcTools.hs;h=9139c786d13c13c01674531a5eecdda3fb0477e2;hb=66ef5bd26b2c02cb12e702c60668294fd80ea8c2;hp=5b9bc350e3da973f678c679308b73cc4fd2abeb7;hpb=82210ea1ed3bbf1acd5cecef5bc0771e36613bf5;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git "a/c\316\273ash/CLasH/Utils/GhcTools.hs" "b/c\316\273ash/CLasH/Utils/GhcTools.hs" index 5b9bc35..9139c78 100644 --- "a/c\316\273ash/CLasH/Utils/GhcTools.hs" +++ "b/c\316\273ash/CLasH/Utils/GhcTools.hs" @@ -161,6 +161,7 @@ findSpec topc statec testc mod = do top <- findBind topc mod state <- findExpr statec mod test <- findExpr testc mod - case top of - Just t -> return [(t, state, test)] - Nothing -> error $ "Could not find top entity requested" + return [(top, state, test)] + -- case top of + -- Just t -> return [(t, state, test)] + -- Nothing -> return error $ "Could not find top entity requested"