File tree 2 files changed +1
-3
lines changed
plugins/hls-eval-plugin/src/Ide/Plugin/Eval
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 114
114
# Things that are unsafe in Haskell base library
115
115
- {name: unsafeInterleaveIO, within: []}
116
116
- {name: unsafeDupablePerformIO, within: []}
117
- - {name: unsafeCoerce, within: []}
117
+ - {name: unsafeCoerce, within: [Ide.Plugin.Eval.Code ]}
118
118
# Things that are a bit dangerous in the GHC API
119
119
- {name: nameModule, within: []}
120
120
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ asStmts (Example e _) = NE.toList e
80
80
asStmts (Property t _) =
81
81
[" prop11 = " ++ t, " (propEvaluation prop11 :: IO String)" ]
82
82
83
- {- HLINT ignore evalExpr "Avoid restricted function" -}
84
-
85
83
-- | Evaluate an expression (either a pure expression or an IO a)
86
84
evalExpr :: GhcMonad m => [Char ] -> m String
87
85
evalExpr e = do
You can’t perform that action at this time.
0 commit comments