Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • libraries/base/changelog.md
    ... ... @@ -21,6 +21,7 @@
    21 21
           * `GHC.TypeLits.Internal`
    
    22 22
           * `GHC.TypeNats.Internal`
    
    23 23
           * `GHC.ExecutionStack.Internal`.
    
    24
    +  * Deprecate `GHC.JS.Prim.Internal.Build`, as per [CLC #329](https://github.com/haskell/core-libraries-committee/issues/329)
    
    24 25
     
    
    25 26
     ## 4.21.0.0 *TBA*
    
    26 27
       * Change `SrcLoc` to be a strict and unboxed (finishing [CLC proposal #55](https://github.com/haskell/core-libraries-committee/issues/55))
    

  • libraries/base/src/GHC/JS/Prim/Internal/Build.hs
    1 1
     {-# LANGUAGE CPP #-}
    
    2 2
     
    
    3
    +module GHC.JS.Prim.Internal.Build
    
    4
    +  {-# DEPRECATED "Use ghc-internal:GHC.Internal.JS.Prim.Internal.Build instead" #-}
    
    5
    +  -- deprecated for now. To be fully removed in GHC 9.16
    
    6
    +  -- see https://github.com/haskell/core-libraries-committee/issues/329 and #23432
    
    3 7
     #if !defined(javascript_HOST_ARCH)
    
    4
    -
    
    5
    -module GHC.JS.Prim.Internal.Build () where
    
    6
    -
    
    8
    +  () where
    
    7 9
     #else
    
    8
    -
    
    9
    -module GHC.JS.Prim.Internal.Build
    
    10 10
       ( buildArrayI
    
    11 11
       , buildArrayM
    
    12 12
       , buildObjectI