Skip to content

Commit 4dcca04

Browse files
committed
fix: type +v actually also works with GHC 9.0
1 parent c949c4c commit 4dcca04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hls-eval-plugin/src/Ide/Plugin/Eval/CodeLens.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ doTypeCmd dflags arg = do
676676

677677
parseExprMode :: Text -> (TcRnExprMode, T.Text)
678678
parseExprMode rawArg = case T.break isSpace rawArg of
679-
#if !MIN_VERSION_ghc(9,0,0)
679+
#if !MIN_VERSION_ghc(9,2,0)
680680
("+v", rest) -> (TM_NoInst, T.strip rest)
681681
#endif
682682
("+d", rest) -> (TM_Default, T.strip rest)

0 commit comments

Comments
 (0)