Skip to content

Commit

Permalink
dart2js: fix try/poi after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmundch committed Jul 13, 2015
1 parent 4b83219 commit 70b6cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/dart2js_incremental/lib/caching_compiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ class StringEventSink implements EventSink<String> {
}

/// Output provider which collect output in [output].
class OutputProvider {
class OutputProvider implements CompilerOutput {
final Map<String, String> output = new Map<String, String>();

EventSink<String> call(String name, String extension) {
EventSink<String> createEventSink(String name, String extension) {
return new StringEventSink((String data) {
output['$name.$extension'] = data;
});
Expand Down
2 changes: 1 addition & 1 deletion pkg/dart2js_incremental/lib/compiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ compileToStream(
class OutputProvider implements CompilerOutput {
final Map<String, String> output = new Map<String, String>();

EventSink<String> createSink(String name, String extension) {
EventSink<String> createEventSink(String name, String extension) {
return new StringEventSink((String data) {
output['$name.$extension'] = data;
});
Expand Down

0 comments on commit 70b6cd5

Please sign in to comment.