clash-ghc 1.4.5 → 1.4.6
raw patch · 3 files changed
+12/−4 lines, 3 filesdep ~clash-libdep ~clash-preludePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: clash-lib, clash-prelude
API changes (from Hackage documentation)
Files
- CHANGELOG.md +7/−0
- clash-ghc.cabal +3/−3
- src-ghc/Clash/GHC/Evaluator/Primitive.hs +2/−1
CHANGELOG.md view
@@ -1,5 +1,12 @@ # Changelog for the Clash project +## 1.4.6 *Oct 26th 2021*++Fixed:++ * Clash tries to cast-specialize non-"global binders" resulting in "specialisation of non-work-free cast" warning [#1933](https://github.com/clash-lang/clash-compiler/issues/1945)+ * More consistently render bare untyped and unsized literals for `~LIT` tags. This fixes [#1934](https://github.com/clash-lang/clash-compiler/issues/1934)+ ## 1.4.5 *Oct 13th 2021* Changed:
clash-ghc.cabal view
@@ -1,6 +1,6 @@ Cabal-version: 2.2 Name: clash-ghc-Version: 1.4.5+Version: 1.4.6 Synopsis: Clash: a functional hardware description language - GHC frontend Description: Clash is a functional hardware description language that borrows both its@@ -163,8 +163,8 @@ transformers >= 0.5.2.0 && < 0.7, unordered-containers >= 0.2.1.0 && < 0.3, - clash-lib == 1.4.5,- clash-prelude == 1.4.5,+ clash-lib == 1.4.6,+ clash-prelude == 1.4.6, concurrent-supply >= 0.1.7 && < 0.2, ghc-typelits-extra >= 0.3.2 && < 0.5, ghc-typelits-knownnat >= 0.6 && < 0.8,
src-ghc/Clash/GHC/Evaluator/Primitive.hs view
@@ -1661,7 +1661,8 @@ [wordDc] = tyConDataCons wordTc in reduce (mkApps (Data wordDc) [Left (Literal (WordLiteral c))]) "GHC.Word.W64#"- | [Lit (WordLiteral c)] <- args+ | isSubj+ , [Lit (WordLiteral c)] <- args -> let (_,tyView -> TyConApp wordTcNm []) = splitFunForallTy ty (Just wordTc) = lookupUniqMap wordTcNm tcm [wordDc] = tyConDataCons wordTc