haskell / haskell/haskell-language-server

Unload module from GHC session after a source file is renamed/moved/deleted

Offen
#792 4 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component: ghcide type: bug
Vorherrschende Sprache
Haskell
Sterne
3k
Forks
455
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
11

Beschreibung

Steps to repro:

1. Create a project with two modules:
```
module Numeric where
-- shadows the Numeric module in base
```
```
module A where
import Numeric (showInt) -- error: Numeric doesn't export showInt
```
2. Delete the `Numeric` module
3. `A` still refuses to typecheck as it doesn't see the real `Numeric` module

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.