| Index: runtime/vm/ast.h
|
| ===================================================================
|
| --- runtime/vm/ast.h (revision 14985)
|
| +++ runtime/vm/ast.h (working copy)
|
| @@ -289,6 +289,9 @@
|
| ASSERT(type_.IsZoneHandle());
|
| ASSERT(!type_.IsNull());
|
| ASSERT(type_.IsFinalized());
|
| + // Type may be uninstantiated when creating a generic list literal.
|
| + ASSERT((type.arguments() == AbstractTypeArguments::null()) ||
|
| + ((AbstractTypeArguments::Handle(type.arguments()).Length() == 1)));
|
| }
|
|
|
| void VisitChildren(AstNodeVisitor* visitor) const;
|
|
|