Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
6077d593
Commit
6077d593
authored
Sep 08, 2009
by
Simon Marlow
Browse files
Allow TH/annotations to be used with -dynamic
parent
c425356c
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/ghci/Linker.lhs
View file @
6077d593
...
...
@@ -528,7 +528,7 @@ dieWith span msg = ghcError (ProgramError (showSDoc (mkLocMessage span msg)))
checkNonStdWay :: DynFlags -> SrcSpan -> IO (Maybe String)
checkNonStdWay dflags srcspan = do
let tag = buildTag dflags
if null tag then return Nothing else do
if null tag
|| tag == "dyn"
then return Nothing else do
let default_osuf = phaseInputExt StopLn
if objectSuf dflags == default_osuf
then failNonStd srcspan
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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