haskell / haskell/haskell-language-server

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

Open
#792 4 comments 4 reactions 0 assignees View on GitHub
component: ghcide type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.