Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
f39b812f
Commit
f39b812f
authored
Jul 27, 2017
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Hspec warning
GHC Bug #8639 was fixed four years ago.
parent
95e1830e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+1
-6
No files found.
src/IHaskell/Eval/Evaluate.hs
View file @
f39b812f
...
...
@@ -489,12 +489,7 @@ evalCommand :: Publisher -> CodeBlock -> KernelState -> Interpreter EvalOut
evalCommand
_
(
Import
importStr
)
state
=
wrapExecution
state
$
do
write
state
$
"Import: "
++
importStr
evalImport
importStr
-- Warn about `it` variable.
return
$
if
"Test.Hspec"
`
isInfixOf
`
importStr
then
displayError
$
"Warning: Hspec is unusable in IHaskell until the resolution of GHC bug #8639."
++
"
\n
The variable `it` is shadowed and cannot be accessed, even in qualified form."
else
mempty
return
mempty
evalCommand
_
(
Module
contents
)
state
=
wrapExecution
state
$
do
write
state
$
"Module:
\n
"
++
contents
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment