diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-06-07 14:33:13 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2019-06-07 14:34:26 +0100 |
commit | 36cab4e723020519a4e185a12ec75b3c81868d0c (patch) | |
tree | 4cf10002d89b4d7bedaf617b23bfcc1e024acffe /compiler/specialise/Specialise.hs | |
parent | ba4e3934abc82e0ba2bec51842315819910d1018 (diff) | |
download | haskell-wip/remove-whitespace.tar.gz |
Remove trailing whitespacewip/remove-whitespace
[skip ci]
This should really be caught by the linters! (#16711)
Diffstat (limited to 'compiler/specialise/Specialise.hs')
-rw-r--r-- | compiler/specialise/Specialise.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/specialise/Specialise.hs b/compiler/specialise/Specialise.hs index c1396e46c4..ed2ae073e9 100644 --- a/compiler/specialise/Specialise.hs +++ b/compiler/specialise/Specialise.hs @@ -938,7 +938,7 @@ tryWarnMissingSpecs dflags callers fn calls_for_fn | otherwise = return () where allCallersInlined = all (isAnyInlinePragma . idInlinePragma) callers - doWarn reason = + doWarn reason = warnMsg reason (vcat [ hang (text ("Could not specialise imported function") <+> quotes (ppr fn)) 2 (vcat [ text "when specialising" <+> quotes (ppr caller) |