Index: dart/sdk/lib/_internal/compiler/implementation/mirrors_used.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/mirrors_used.dart b/dart/sdk/lib/_internal/compiler/implementation/mirrors_used.dart |
index fad167e91a36f76264ec9dc9ebb0550fb115970d..6aacb9453c61b3ce4ca21ba9730cac2a71128cce 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/mirrors_used.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/mirrors_used.dart |
@@ -461,7 +461,7 @@ class MirrorUsageBuilder { |
assert(invariant(spannable, entry is String)); |
karlklose
2013/12/12 07:57:18
Why this invariant? Checked mode will already chec
ahe
2013/12/12 09:58:07
Checked mode doesn't know which AST node (or eleme
|
result[count++] = entry; |
} |
- return result; |
+ return result.toList(growable: true); |
karlklose
2013/12/12 10:27:49
'true' is the default.
ahe
2013/12/12 11:04:59
Yes. But I'm passing the value explicitly to docum
|
} |
/// Convert a list of strings and types to a list of elements. Types are |