From 66eadadf2ff258bbaf924b12dd4fb49ecc72272f Mon Sep 17 00:00:00 2001 From: Jon Shen Date: Sun, 28 Nov 2021 22:39:04 -0500 Subject: [PATCH] fix test --- plugins/hls-pragmas-plugin/src/Ide/Plugin/Pragmas.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hls-pragmas-plugin/src/Ide/Plugin/Pragmas.hs b/plugins/hls-pragmas-plugin/src/Ide/Plugin/Pragmas.hs index d611f63c85..c7ec0cda5f 100644 --- a/plugins/hls-pragmas-plugin/src/Ide/Plugin/Pragmas.hs +++ b/plugins/hls-pragmas-plugin/src/Ide/Plugin/Pragmas.hs @@ -528,7 +528,7 @@ lexUntilNextLineIncl :: P (Located Token) lexUntilNextLineIncl = do PState{ last_loc } <- getPState #if MIN_VERSION_ghc(9,0,0) - let PsSpan{ psRealSpan } = last_loc + let PsSpan{ psRealSpan = lastRealSrcSpan } = last_loc #else let lastRealSrcSpan = last_loc #endif