Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
8f991755
by fendor at 2026-05-26T11:02:52-04:00
2 changed files:
Changes:
| ... | ... | @@ -5,5 +5,6 @@ |
| 5 | 5 | test('prog003',
|
| 6 | 6 | [extra_files(['A.hs', 'B.hs', 'C.hs', 'D1.hs', 'D2.hs']),
|
| 7 | 7 | when(opsys('mingw32'), skip),
|
| 8 | + unless(config.ghc_dynamic, expect_broken(20704)),
|
|
| 8 | 9 | cmd_prefix('ghciWayFlags=' + config.ghci_way_flags)],
|
| 9 | 10 | ghci_script, ['prog003.script']) |
| ... | ... | @@ -25,7 +25,7 @@ a 42 |
| 25 | 25 | |
| 26 | 26 | putStrLn "Run 3"
|
| 27 | 27 | -- compile D, check that :reload doesn't pick it up
|
| 28 | -:shell "$HC" $HC_OPTS $ghciWayFlags -c D.hs
|
|
| 28 | +:shell "$HC" $HC_OPTS $ghciWayFlags -this-unit-id interactive-session -c D.hs
|
|
| 29 | 29 | :reload
|
| 30 | 30 | :type (A.a,B.b,C.c,D.d)
|
| 31 | 31 | a 42
|
| ... | ... | @@ -38,21 +38,21 @@ a 42 |
| 38 | 38 | |
| 39 | 39 | putStrLn "Run 5"
|
| 40 | 40 | -- D,C compiled
|
| 41 | -:shell "$HC" $HC_OPTS $ghciWayFlags -c C.hs
|
|
| 41 | +:shell "$HC" $HC_OPTS $ghciWayFlags -this-unit-id interactive-session -c C.hs
|
|
| 42 | 42 | :load A
|
| 43 | 43 | :type (A.a,B.b,C.c,D.d)
|
| 44 | 44 | a 42
|
| 45 | 45 | |
| 46 | 46 | putStrLn "Run 6"
|
| 47 | 47 | -- D,C,B compiled
|
| 48 | -:shell "$HC" $HC_OPTS $ghciWayFlags -c B.hs
|
|
| 48 | +:shell "$HC" $HC_OPTS $ghciWayFlags -this-unit-id interactive-session -c B.hs
|
|
| 49 | 49 | :load A
|
| 50 | 50 | :type (A.a,B.b,C.c,D.d)
|
| 51 | 51 | a 42
|
| 52 | 52 | |
| 53 | 53 | putStrLn "Run 7"
|
| 54 | 54 | -- D,C,B,A compiled
|
| 55 | -:shell "$HC" $HC_OPTS $ghciWayFlags -c A.hs
|
|
| 55 | +:shell "$HC" $HC_OPTS $ghciWayFlags -this-unit-id interactive-session -c A.hs
|
|
| 56 | 56 | :load A
|
| 57 | 57 | :type (A.a,B.b,C.c,D.d)
|
| 58 | 58 | a 42
|
| ... | ... | @@ -80,7 +80,7 @@ a 42 |
| 80 | 80 | |
| 81 | 81 | putStrLn "Run 11"
|
| 82 | 82 | -- A,B,C compiled (better not use A.o, B.o, C.o)
|
| 83 | -:shell "$HC" $HC_OPTS $ghciWayFlags --make -v0 A
|
|
| 83 | +:shell "$HC" $HC_OPTS $ghciWayFlags --make -this-unit-id interactive-session -v0 A
|
|
| 84 | 84 | :shell rm D.o
|
| 85 | 85 | :load A
|
| 86 | 86 | :type (A.a,B.b,C.c,D.d)
|