-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Display summary of warnings at end of execution
Hackport is noisy. At the end of the output, display any warnings that were fired so that they are easier to notice. We use a DList to hold the list of warnings. This adds `StateT WarningBuffer` to the Env monad stack and runs displayWarnings (new function) as the last part of runEnv. Add `warn` function to the Util module and display warnings whenever `die` is called. Convert `errorWarnOnUnbuildable` in the Merge module to use the new warning functionality. Signed-off-by: hololeap <[email protected]>
- Loading branch information
Showing
4 changed files
with
122 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters