Skip to content

Commit c00a748

Browse files
committed
Add warning about ghc-9
1 parent ea58a4b commit c00a748

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hlsBinaries.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,12 @@ export async function downloadHaskellLanguageServer(
315315

316316
const title = `Downloading haskell-language-server ${release.tag_name} for GHC ${ghcVersion}`;
317317
await downloadFile(title, asset.browser_download_url, binaryDest);
318+
if (ghcVersion.startsWith('9.')) {
319+
window.showWarningMessage(
320+
'Currently, HLS supports GHC 9 only partially. ' +
321+
'See [issue #297](https://github.com/haskell/haskell-language-server/issues/297) for more detail.'
322+
);
323+
}
318324
return binaryDest;
319325
}
320326

0 commit comments

Comments
 (0)