Merge pull request #262 from dart-lang/scoped-output

Support scoped output