Comments (2)
Verbose output, captured with script:
Script started on Fri Jul 29 16:18:05 2022
command: ghcid a.hs -v
%OS: darwin
%ARCH: aarch64
%VERSION: 0.8.7
%ARGUMENTS: ["a.hs","-v"]
Loading ghci -fno-code -fno-break-on-exception -fno-break-on-error -v1 -ferror-spans -j a.hs ...
%STDOUT: GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDOUT2: GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDIN: import qualified System.IO as INTERNAL_GHCID
%STDIN: :unset +t +s
%STDIN: :set prompt #~GHCID-START~#
%STDIN: :set prompt-cont #~GHCID-START~#
%STDIN: :set -fno-break-on-exception
%STDIN: :set -fno-break-on-error
%STDIN: :set -v1
%STDIN: :set -fno-hide-source-paths
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','1','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','1','~','#']
GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDOUT: [1 of 1] Compiling Main ( a.hs, nothing )
%STDOUT2: [1 of 1] Compiling Main ( a.hs, nothing )
[1 of 1] Compiling Main ( a.hs, nothing )
%STDOUT: Ok, one module loaded.
%STDOUT2: Ok, one module loaded.
Ok, one module loaded.
%STDOUT: ghci> ghci> ghci> ghci> #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-1~#
%STDERR: #~GHCID-FINISH-1~#
%STDIN:
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','2','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','2','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-2~#
%STDERR: #~GHCID-FINISH-2~#
%STDIN: :set -ferror-spans
:set -j
:set -fdiagnostics-color=always
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','3','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','3','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-3~#
%STDERR: #~GHCID-FINISH-3~#
%STDIN: :show paths
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','4','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','4','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~#current working directory:
%STDOUT: /Users/simon/src
%STDOUT: module import search paths:
%STDOUT: .
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-FINISH-4~#
%STDERR: #~GHCID-FINISH-4~#
%MESSAGES: [Loading {loadModule = "Main", loadFile = "/Users/simon/src/a.hs"}]
%LOADED: ["/Users/simon/src/a.hs"]
�]0;All good, at 16:18:06 - src�%WAITING: /Users/simon/src/.ghcid /Users/simon/src/a.hs
%WAITING: /Users/simon/src
%NOTIFY: Modified "/Users/simon/src/a.hs" 2022-07-29 15:18:10.623276 UTC False
%NOTIFY: Removed "/Users/simon/src/.#a.hs" 2022-07-29 15:18:10.623325 UTC False
%WAITING: Notify signaled
%STDIN: :reload
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','5','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','5','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~#[1 of 1] Compiling Main ( a.hs, nothing )
%STDOUT: Failed, no modules loaded.
%STDERR:
%STDERR: �[;1ma.hs:1:23: �[;1m�[31merror:�[0m�[0m�[;1m�[0m�[0m�[;1m
%STDERR: lexical error in string/character literal at character '\n'�[0m�[0m
%STDERR: �[;1m�[34m |�[0m�[0m
%STDERR: �[;1m�[34m1 |�[0m�[0m main = putStrLn "hello�[;1m�[31m�[0m�[0m
%STDERR: �[;1m�[34m |�[0m�[0m�[;1m�[31m ^�[0m�[0m
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-FINISH-5~#
%STDERR: #~GHCID-FINISH-5~#
%STDIN: :show modules
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','6','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','6','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-6~#
%STDERR: #~GHCID-FINISH-6~#
%MESSAGES: [Loading {loadModule = "Main", loadFile = "/Users/simon/src/a.hs"},Message {loadSeverity = Error, loadFile = "/Users/simon/src/a.hs", loadFilePos = (1,23), loadFilePosEnd = (1,23), loadMessage = ["\ESC[;1ma.hs:1:23: \ESC[;1m\ESC[31merror:\ESC[0m\ESC[0m\ESC[;1m\ESC[0m\ESC[0m\ESC[;1m"," lexical error in string/character literal at character '\\n'\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m |\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m1 |\ESC[0m\ESC[0m main = putStrLn \"hello\ESC[;1m\ESC[31m\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m |\ESC[0m\ESC[0m\ESC[;1m\ESC[31m ^\ESC[0m\ESC[0m"]}]
%LOADED: ["/Users/simon/src/a.hs"]
�]0;1 error - src�%WAITING: /Users/simon/src/.ghcid /Users/simon/src/a.hs
%WAITING: /Users/simon/src
^C%STDIN: :quit
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','7','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','7','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~#Leaving GHCi.
�[?25h
Script done on Fri Jul 29 16:18:13 2022
or in emacs shell:
$ ghcid a.hs -v
%OS: darwin
%ARCH: aarch64
%VERSION: 0.8.7
%ARGUMENTS: ["a.hs","-v"]
Loading ghci -fno-code -fno-break-on-exception -fno-break-on-error -v1 -ferror-spans -j a.hs ...
%STDOUT: GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDOUT2: GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDIN: import qualified System.IO as INTERNAL_GHCID
%STDIN: :unset +t +s
%STDIN: :set prompt #~GHCID-START~#
%STDIN: :set prompt-cont #~GHCID-START~#
%STDIN: :set -fno-break-on-exception
%STDIN: :set -fno-break-on-error
%STDIN: :set -v1
%STDIN: :set -fno-hide-source-paths
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','1','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','1','~','#']
GHCi, version 9.2.2: https://www.haskell.org/ghc/ :? for help
%STDOUT: [1 of 1] Compiling Main ( a.hs, nothing )
%STDOUT2: [1 of 1] Compiling Main ( a.hs, nothing )
[1 of 1] Compiling Main ( a.hs, nothing )
%STDOUT: Ok, one module loaded.
%STDOUT2: Ok, one module loaded.
Ok, one module loaded.
%STDOUT: ghci> ghci> ghci> ghci> #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-1~#
%STDERR: #~GHCID-FINISH-1~#
%STDIN:
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','2','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','2','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-2~#
%STDERR: #~GHCID-FINISH-2~#
%STDIN: :set -ferror-spans
:set -j
:set -fdiagnostics-color=always
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','3','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','3','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-3~#
%STDERR: #~GHCID-FINISH-3~#
%STDIN: :show paths
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','4','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','4','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~#current working directory:
%STDOUT: /Users/simon/src
%STDOUT: module import search paths:
%STDOUT: .
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-FINISH-4~#
%STDERR: #~GHCID-FINISH-4~#
%MESSAGES: [Loading {loadModule = "Main", loadFile = "/Users/simon/src/a.hs"}]
%LOADED: ["/Users/simon/src/a.hs"]
�]0;All good, at 16:19:27 - src�%WAITING: /Users/simon/src/.ghcid /Users/simon/src/a.hs
%WAITING: /Users/simon/src
%NOTIFY: Modified "/Users/simon/src/a.hs" 2022-07-29 15:19:30.613601 UTC False
%NOTIFY: Removed "/Users/simon/src/.#a.hs" 2022-07-29 15:19:30.613624 UTC False
%WAITING: Notify signaled
%STDIN: :reload
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','5','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','5','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~#[1 of 1] Compiling Main ( a.hs, nothing )
%STDERR:
%STDOUT: Failed, no modules loaded.
%STDERR: a.hs:1:23: error:
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-FINISH-5~#
%STDERR: lexical error in string/character literal at character '\n'
%STDERR: |
%STDERR: 1 | main = putStrLn "hello
%STDERR: | ^
%STDERR: #~GHCID-FINISH-5~#
%STDIN: :show modules
%STDIN:
INTERNAL_GHCID.putStrLn ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','6','~','#']
INTERNAL_GHCID.hPutStrLn INTERNAL_GHCID.stderr ['#','~','G','H','C','I','D','-','F','I','N','I','S','H','-','6','~','#']
%STDOUT: #~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-START~##~GHCID-FINISH-6~#
%STDERR: #~GHCID-FINISH-6~#
%MESSAGES: [Loading {loadModule = "Main", loadFile = "/Users/simon/src/a.hs"},Message {loadSeverity = Error, loadFile = "/Users/simon/src/a.hs", loadFilePos = (1,23), loadFilePosEnd = (1,23), loadMessage = ["\ESC[;1ma.hs:1:23: \ESC[;1m\ESC[31merror:\ESC[0m\ESC[0m\ESC[;1m\ESC[0m\ESC[0m\ESC[;1m"," lexical error in string/character literal at character '\\n'\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m |\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m1 |\ESC[0m\ESC[0m main = putStrLn \"hello\ESC[;1m\ESC[31m\ESC[0m\ESC[0m","\ESC[;1m\ESC[34m |\ESC[0m\ESC[0m\ESC[;1m\ESC[31m ^\ESC[0m\ESC[0m"]}]
%LOADED: ["/Users/simon/src/a.hs"]
�]0;1 error - src�%WAITING: /Users/simon/src/.ghcid /Users/simon/src/a.hs
%WAITING: /Users/simon/src
from ghcid.
Ha! Even though I had an arm64 build of ghcid-0.8.7, dated this year, reinstalling ghcid has fixed it. I noticed it rebuilding terminal-size-0.3.3 and ghcid-0.8.7. ghcid's usual glorious output is back, I hadn't seen it for a long time. Go figure!
from ghcid.
Related Issues (20)
- Handle `-Wprepositive-qualified-syntax` and `-Wmissing-local-signatures` HOT 4
- stderr not displaying on Apple Silicon HOT 4
- Support JSON output HOT 1
- Can't open ghcid HOT 3
- ghcid --restart=dir closes when an error occurs HOT 2
- fsnotify 0.4.0 release breaks building ghcid HOT 1
- quickfix location can't be set to arbitrary directory HOT 4
- quickfix file fails to generate if stack exists unexpectedly HOT 1
- Support for cabal-install scripts?
- Start `ghcid` in VSCode extension
- Windows installation, ambiguous occurrence ‘wM_SETICON’ HOT 1
- Crash/incorrect error message on circular dependency HOT 2
- Option for auto restart with .hsc file
- Language.Haskell.Ghcid `showModules` incorrectly parses context information as module names (GHCi 9.4.4)
- emit warnings on the fly as a rebuild happens HOT 1
- cabal and stack install fails on Windows HOT 1
- VS Code Extension - "Ghcid has stopped" message leads to persistent error
- Windows 11 flags ghcid.exe as having trojan when built with stack HOT 2
- Fails to Start on WSL 2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghcid.