Commit d77b0f5
authored
Drop "ifdef GHC"s on INLINABLE pragmas (#1167)
These were added long ago in 06e91ac as an improvement on GHC over the
already existing INLINE pragmas. We can get rid of these unnecessary
(and confusing to contributors) ifdefs today since we do not have other
compilers where we want the non-INLINABLE behavior to apply.
While INLINABLE is not a standard pragma listed in the Haskell 2010
report, the report also specifies that unrecognized pragmas should be
ignored. So we don't expect this to cause issues for non-GHC compilers.
MicroHs quietly ignores them as expected.1 parent e7b1b72 commit d77b0f5
File tree
7 files changed
+12
-338
lines changed- containers/src/Data
- IntMap
- Strict
- IntSet
- Map
- Strict
- Sequence
- Set
7 files changed
+12
-338
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3391 | 3391 | | |
3392 | 3392 | | |
3393 | 3393 | | |
3394 | | - | |
3395 | 3394 | | |
3396 | | - | |
3397 | | - | |
3398 | | - | |
3399 | 3395 | | |
3400 | 3396 | | |
3401 | 3397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | 1119 | | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | 1120 | | |
1125 | 1121 | | |
1126 | 1122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
622 | | - | |
623 | | - | |
| 621 | + | |
624 | 622 | | |
625 | 623 | | |
626 | 624 | | |
| |||
0 commit comments