Static Flags and the GHC API
Judah Jacobson
judah.jacobson at gmail.com
Wed Mar 7 01:41:56 EST 2007
Hi all,
I've run across an issue in HEAD regarding the GHC API (trac #1181).
Code that worked under ghc-6.6 (eg,
http://haskell.org/haskellwiki/GHC/As_a_library) currently panics with
the message "a static opt was looked at too early!" If you set the
static flags manually (eg via StaticFlags.parseStaticFlags), the panic
goes away.
What is the relationship between the API and static flags supposed to
be? Should the user be required to set the static flags, or should
they have some default like in ghc-6.6? If it's the former, then the
docs should be changed; otherwise, the above trac entry is in fact a
bug. Either way, I'm willing to look into a fix.
Thanks,
-Judah
More information about the Cvs-ghc
mailing list