-
3b3a5dec
by Ben Gamari at 2025-05-15T16:10:01-04:00
Don't emit unprintable characters when printing Uniques
When faced with an unprintable tag we now instead print the codepoint
number.
Fixes #25989.
(cherry picked from commit e832b1fadee66e8d6dd7b019368974756f8f8c46)
-
e1ef8974
by Mike Pilgrem at 2025-05-16T16:09:14-04:00
Translate iff in Haddock documentation into everyday English
-
fd64667d
by Vladislav Zavialov at 2025-05-20T03:25:08-04:00
Allow the 'data' keyword in import/export lists (#25899)
This patch introduces the 'data' namespace specifier in import and
export lists. The intended use is to import data constructors without
their parent type constructors, e.g.
import Data.Proxy as D (data Proxy)
type DP = D.Proxy -- promoted data constructor
Additionally, it is possible to use 'data' to explicitly qualify any
data constructors or terms, incl. operators and field selectors
import Prelude (Semigroup(data (<>)))
import Data.Function (data (&))
import Data.Monoid (data Dual, data getDual)
x = Dual "Hello" <> Dual "World" & getDual
The implementation mostly builds on top of the existing logic for the
'type' and 'pattern' namespace specifiers, plus there are a few tweaks
to how we generate suggestions in error messages.
-
acc86753
by Ben Gamari at 2025-05-20T03:25:51-04:00
compiler: Use field selectors when creating BCOs
This makes it easier to grep for these fields.
-
60a55fd7
by Ben Gamari at 2025-05-20T03:25:51-04:00
compiler: Clarify BCO size
Previously the semantics and size of StgBCO was a bit unclear.
Specifically, the `size` field was documented to contain the size of the
bitmap whereas it was actually the size of the closure *and* bitmap.
Additionally, it was not as clear as it could be that the bitmap was a
full StgLargeBitmap with its own `size` field.
-
3cb01084
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Add Wine support
-
5dae31c8
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Test build wine!
-
3a90f43b
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Put updated clang toolchain into bootstrap compiler's `mingw` folder
-
ab9dfe4d
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Enable tests for cross-compiled compiler
-
dce9befa
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Update DOCKER_REV
-
5eca10df
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Copy mingw from boostrap compiler
-
b3b3012d
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Remove CROSS_EMULATOR because we are already in Wine, fix `check_msys2_deps` to support cross-target at Windows
-
9744fcd3
by Serge S. Gulin at 2025-05-20T12:27:17+03:00
Attempt to fix the hang to use DOCKER_REV where no whole MSYS2 system update
-
1289e267
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
More debug info
-
a5e2d68c
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Relax the requirements of `set_up_tarballs` Windows toolchain check
-
c2eb3837
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Add `.exe` to `WindresCmd` environment var and more debugging info around it
-
4c9e16a9
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Rewrite `fetch_cabal` in same fashion as `fetch_ghc`, introduce `cross_target_exe` suffix for cross-compile windows builds
-
548d915b
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Manually pass "WindresCmd" from parent process to child to fix MSYS2 behaviour at Wine
-
585c07e1
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Localize `$toolchain`, change `$PATH` only when `TOOLCHAIN_SOURCE=extracted`, make test to force recomp
-
a555aae8
by Serge S. Gulin at 2025-05-20T12:27:18+03:00
Extend PATH to make cross-compiler test green for Windows AArch64