Index: sdk/lib/io/stdio.dart |
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart |
index 8c08023eff9afbc169b9026570ae7c72fe81368c..07218db89440c42dbed99c32ec526c56246b8d15 100644 |
--- a/sdk/lib/io/stdio.dart |
+++ b/sdk/lib/io/stdio.dart |
@@ -275,7 +275,9 @@ class _StdSinkHelper implements IOSink { |
void set _translation(_FileTranslation t) { |
if (_isTranslatable) { |
- _sink._target._file.translation = t; |
+ _IOSinkImpl sink = _sink; |
+ _StdConsumer target = sink._target; |
+ target._file.translation = t; |
} |
} |