diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-09-16 11:48:27 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-16 21:42:10 -0400 |
commit | 383f75494a936bbc2f794a788141b103cd482913 (patch) | |
tree | 88fda91cb24fd1fd5b53209cfe93a4231e42b92d /rts/RtsProbes.d | |
parent | df35d99465d1037b31cbd05aa3380fce6031af73 (diff) | |
download | haskell-383f75494a936bbc2f794a788141b103cd482913.tar.gz |
-Wunused-pattern-binds: Recurse into patterns to check whether there's a splice
See the examples in #22057 which show we have to traverse deeply into a
pattern to determine whether it contains a splice or not. The original
implementation pointed this out but deemed this very shallow traversal
"too expensive".
Fixes #22057
I also fixed an oversight in !7821 which meant we lost a warning which
was present in 9.2.2.
Fixes #22067
Diffstat (limited to 'rts/RtsProbes.d')
0 files changed, 0 insertions, 0 deletions