diff options
| author | David Terei <davidterei@gmail.com> | 2011-06-11 20:20:32 -0700 |
|---|---|---|
| committer | David Terei <davidterei@gmail.com> | 2011-06-17 20:40:34 -0700 |
| commit | 77d85a4a9c185a4756f14135e96f3b0aab9cf8f9 (patch) | |
| tree | 3ec89f901df517a9b8b2fd3a1e7e8c034c4dce9e /driver/haddock/haddock.c | |
| parent | 8ebe525b9e7988355c236dfe0dd18187522e377e (diff) | |
| download | haskell-77d85a4a9c185a4756f14135e96f3b0aab9cf8f9.tar.gz | |
SafeHaskell: Transitively check safety when compiling a module.
While we previously checked the safety of safe imported modules we
didn't do this check transitively. This can be a problem when we depend
on a trustworthy module in a package that is no longer trusted, so we
should fail compilation. We already stored in an interface file the
transitive list of packages a module depends on. Now we extend that list
to include a flag saying if we depend on that package being trusted as
well.
Diffstat (limited to 'driver/haddock/haddock.c')
0 files changed, 0 insertions, 0 deletions
