Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js/printer.dart

Issue 19391004: Implement reflective access to static methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dart/sdk/lib/_internal/compiler/implementation/js/printer.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js/printer.dart b/dart/sdk/lib/_internal/compiler/implementation/js/printer.dart
index f7d65c1c486f2a52e00d48ee9e54b03d88a60b6e..a5870d8f95f5dbcf4fafdd8f35b83a185dd31507 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js/printer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js/printer.dart
@@ -140,6 +140,10 @@ class Printer implements NodeVisitor {
visitAll(program.body);
}
+ visitBlob(Blob node) {
+ outBuffer.addBuffer(node.buffer);
+ }
+
bool blockBody(Node body, {bool needsSeparation, bool needsNewline}) {
if (body is Block) {
spaceOut();

Powered by Google App Engine
This is Rietveld 408576698