Hi,

It seems to me that "newSession" does not exist. But it is used in 
comments and error messages.

% grep -r newSession *
compiler/main/DynFlags.hs:-- | Used by 'GHC.newSession' to partially initialize 
a new 'DynFlags' value
compiler/main/DynFlags.hs:-- and must be fully initialized by 'GHC.newSession' 
first.
compiler/main/StaticFlags.hs:  when ready $ throwGhcExceptionIO (ProgramError 
"Too late for parseStaticFlags: call it before newSession")
compiler/main/StaticFlags.hs:        then panic "Static flags have not been 
initialised!\n        Please call GHC.newSession or GHC.parseStaticFlags early 
enough."

I think they should be updated.

--Kazu
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to