-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove more workarounds for GHCs < 9.0 #4092
Remove more workarounds for GHCs < 9.0 #4092
Conversation
There is more cleanup that can be done w.r.t unsupported ghc versions (e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
ghcide/test/exe/TestUtils.hs
Outdated
@@ -306,8 +306,7 @@ defToLocation (InR (InR Null)) = [] | |||
|
|||
-- | Ghc 9 doesn't include the $-sign in TH warnings like earlier versions did | |||
thDollarIdx :: UInt | |||
thDollarIdx | ghcVersion >= GHC90 = 1 | |||
| otherwise = 0 | |||
thDollarIdx = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inline?
a4650ab
to
03c2dcd
Compare
@@ -9,23 +9,29 @@ main = defaultTestRunner $ testGroup "haskell-language-server-wrapper" [projectG | |||
|
|||
projectGhcVersionTests :: TestTree | |||
projectGhcVersionTests = testGroup "--project-ghc-version" | |||
[ stackTest "9.2.8" | |||
[ testCase "stack with global ghc" $ do | |||
ghcVer <- ghcNumericVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
No description provided.