`stack ghci` broken(?) on GHC 9.14.1
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- haskell
- Área
- build-system, cli
Línea de trabajo
Reproduce stack ghci con GHC 9.14.1 usando la salida de este informe y, después, lee el issue 26866 de GHC enlazado. Sigue cómo Stack configura GHCi para el proyecto y determina si el error Module Lib not found es únicamente diagnóstico; se considera terminado cuando stack ghci se inicia sin errores ni advertencias engañosos al cargar los módulos enumerados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
See GHC issue:
With GHC 9.14.1:
> stack ghci
Using main module:
1. Package testGhc9141, component testGhc9141:exe:testGhc9141-exe, with main-is file:
D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs.
testGhc9141> configure (lib + exe)
Configuring testGhc9141-0.1.0.0...
testGhc9141> initial-build-steps (lib + exe)
Warning: The following GHC options are incompatible with GHCi and have not been passed to it: -threaded.
Configuring GHCi with the following packages: testGhc9141.
GHCi, version 9.14.1: https://www.haskell.org/ghc/ :? for help
<interactive>: error: [GHCi-23305]
Module Lib not found
<no location info>: warning: [GHC-32850] [-Wmissing-home-modules]
Modules are not listed in options for ‘main’ but needed for compilation:
Lib
[1 of 3] Compiling Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )[main]
[2 of 3] Compiling Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )[interactive-session]
Ok, one module added.
Loaded GHCi configuration from C:\Users\mike\AppData\Local\stack\ghci-script\a658edde\ghci-script
ghci>
The <no location info> warning is a consequence of ghc-options: [-Wmissing-home-modules]. Without that:
GHCi, version 9.14.1: https://www.haskell.org/ghc/ :? for help
<interactive>: error: [GHCi-23305]
Module Lib not found
[1 of 3] Compiling Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )[main]
[2 of 3] Compiling Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )[interactive-session]
Ok, one module added.
Loaded GHCi configuration from C:\Users\mike\AppData\Local\stack\ghci-script\a658edde\ghci-script
ghci> :show modules
Lib ( D:\Users\mike\Code\Haskell\testGhc9141\src\Lib.hs, interpreted )
Main ( D:\Users\mike\Code\Haskell\testGhc9141\app\Main.hs, interpreted )
ghci>
Despite the Module Lib not found and Ok, one module added., both modules are compiled and shown as loaded.
- Lenguaje dominante
- Haskell
- Estrellas
- 4.1k
- Forks
- 857
- Merge medio
- 17 h 32 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de commercialhaskell/stack
-
Build Stack against Cabal >= 3.18Posiblemente ocupada @mpilgrem la tomó hace 14 días. Abierto
commercialhaskell/stack#6976 · 1 asignado ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
commercialhaskell/stack#6954 ·
-
Support type-checking without compilingQuizá libre de nuevo @mpilgrem la tomó hace 135 días y no hay ningún pull request abierto. Abiertocomponent: build type: enhancement
commercialhaskell/stack#6951 · 3 reacciones · 1 asignado ·
-
Support semaphore-compat 2.0.0Quizá libre de nuevo @mpilgrem la tomó hace 158 días y no hay ningún pull request abierto. Abiertocomponent: build in progress type: enhancement
commercialhaskell/stack#6934 · 3 comentarios · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
commercialhaskell/stack#6864 · 1 comentario ·
Todos los issues de commercialhaskell/stack
Issues similares
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
alunduil/network-arbitrary#293 ·
Los mantenedores suelen responder en 1 día
-
area:client bug priority-low
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 91/100
simplex-chat/simplex-chat#8372 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
compiler-explorer/compiler-explorer#9710 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
agda/agda#8965 · 1 comentario ·
Los mantenedores suelen responder en 1 día