Index: pkg/csslib/lib/src/tree_printer.dart |
diff --git a/pkg/csslib/lib/src/tree_printer.dart b/pkg/csslib/lib/src/tree_printer.dart |
index 8c394766f008acb4c42c3569268acd4d5f339bd9..3d381bde4848385d22e3cb79f90bd5db722c27a5 100644 |
--- a/pkg/csslib/lib/src/tree_printer.dart |
+++ b/pkg/csslib/lib/src/tree_printer.dart |
@@ -172,7 +172,8 @@ class _TreePrinter extends Visitor { |
*/ |
void visitIncludeDirective(IncludeDirective node) { |
heading('IncludeDirective ${node.name}', node); |
- output.writeNodeList('parameters', node.args); |
+ var flattened = node.args.expand((e) => e).toList(); |
+ output.writeNodeList('parameters', flattened); |
} |
void visitIncludeMixinAtDeclaration(IncludeMixinAtDeclaration node) { |