pub build should support dart2js's --fatal-warnings flag #18
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
<img src="https://avatars.githubusercontent.com/u/224266?v=3" align="left" width="96" height="96"hspace="10"> Issue by johnmccutchan
Originally opened as dart-lang/sdk#23379
dart2js has this new flag:
--fatal-warnings
which will cause compilation to abort if there are any warnings.
pub build doesn't check the process exit code so it never realizes that dart2js failed.
If this worked, we could ensure that a bug in Observatory code triggers a build failure, catching our mistake earlier.
The text was updated successfully, but these errors were encountered: