diff options
author | Kevin Buhr <buhr@asaurus.net> | 2018-08-21 16:04:59 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-08-21 18:56:11 -0400 |
commit | 14817621aae2d45f8272a36b171b9ccce8763bba (patch) | |
tree | dfbd14247689d57a666d85cf50c7e7e5c4599701 /libraries/base/System/IO.hs | |
parent | 2bacf6f8842d8e1288917e358ed41e4c61b7948e (diff) | |
download | haskell-14817621aae2d45f8272a36b171b9ccce8763bba.tar.gz |
base: Mark `findIndices` as INLINABLE instead of INLINE (fixes #15426)
If `findIndices` is marked INLINE in `Data.OldList`, then the unfolded
versions of `elemIndex` and `findIndex` included in the interface file
are unfusible (even though `findIndices` itself remains fusible). By
marking it INLINABLE instead, elemIndex` and `findIndex` will fuse
properly.
Test Plan: make TEST=T15426
Reviewers: hvr, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, carter
GHC Trac Issues: #15426
Differential Revision: https://phabricator.haskell.org/D5063
Diffstat (limited to 'libraries/base/System/IO.hs')
0 files changed, 0 insertions, 0 deletions