-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qualify stdout/stderr references and handle operations.
Fixes #201.
- Loading branch information
1 parent
c459b35
commit e184a15
Showing
4 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module A where | ||
|
||
stderr :: Bool | ||
stderr = True | ||
|
||
stdout :: String | ||
stdout = "hello" | ||
|
||
-- | | ||
-- >>> 3 + 3 | ||
-- 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module A where | ||
|
||
import System.IO | ||
|
||
-- ghci-wrapper needs to poke around with System.IO itself, and unloads the module once it's done. Test to make sure legitimate uses of System.IO don't get lost in the wash. | ||
|
||
-- | | ||
-- >>> ReadMode | ||
-- ReadMode | ||
|
See #292. This might be a regression in 0.18. It should be
GHC.IO.Encoding.utf8
. Appearently, we don't have a test case for that.