X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=c%CE%BBash%2FCLasH%2FUtils%2FGhcTools.hs;h=6e9a6dca85e57039159e2d925da536023cc59933;hb=a09063e81d573bfa513d30ae97dba95485dc67e9;hp=5a041cc021173b79fbcb1ccd3cee14dee6808d8e;hpb=adf357ab8731531dfea0a21254cfc613031e083a;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 5a041cc..6e9a6dc 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"