Index: lib/html/scripts/idlrenderer.dart |
diff --git a/lib/html/scripts/idlrenderer.dart b/lib/html/scripts/idlrenderer.dart |
index 3bf37204282f50a8e170237250751906ff883785..77801757f8503692ea3bdfe92579384bd4402afb 100644 |
--- a/lib/html/scripts/idlrenderer.dart |
+++ b/lib/html/scripts/idlrenderer.dart |
@@ -48,7 +48,7 @@ render(idl_node, [indent_str=' ']) { |
if (node == null) { |
return; |
} else if (node is String) { |
- if (output.last().endsWith('\n')) |
+ if (output.last.endsWith('\n')) |
output.addAll(indent_stack); |
output.add(node); |
} else if (node is List) { |