agda-mode-vscode icon indicating copy to clipboard operation
agda-mode-vscode copied to clipboard

No backend called 'GHC' (installed backends: GHCNoMain, QuickLaTeX)

Open brando90 opened this issue 2 years ago • 4 comments

Error:

No backend called 'GHC' (installed backends: GHCNoMain, QuickLaTeX)

but I see that's the default in my setting:

Screen Shot 2022-04-14 at 1 57 12 PM

crossposted: https://stackoverflow.com/questions/71876445/how-does-one-use-ghc-in-agda-with-vscode

brando90 avatar Apr 14 '22 18:04 brando90

Thanks for reporting this!

banacorn avatar May 02 '22 05:05 banacorn

If we use GHC as backend in the settings, agda-mode would emit GHCNoMain https://github.com/banacorn/agda-mode-vscode/blob/f06bde4ddbc03291915bc345dfd0ad23ed5af054/src/Config.res#L173-L177

But somehow, GHCNoMain would get converted back to GHC in Agda for some "backwards compatibility" reason https://github.com/agda/agda/blob/467a4b9f9a6808ea5aaf3411a55c7bdcaf714d7d/src/full/Agda/Interaction/InteractionTop.hs#L512

Could this be an Agda's issue?

banacorn avatar May 03 '22 05:05 banacorn

I am also running into this issue!

vezwork avatar Jul 13 '22 02:07 vezwork

I just ran into this issue, you need to sync the GHC backend setting for issue resolution.

Screen Shot 2023-01-11 at 2 43 58 PM

epicallan avatar Jan 11 '23 11:01 epicallan