
24 Sep
2013
24 Sep
'13
10:52 p.m.
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