Chromium Code Reviews| Index: runtime/vm/ast.h |
| =================================================================== |
| --- runtime/vm/ast.h (revision 502) |
| +++ runtime/vm/ast.h (working copy) |
| @@ -1667,8 +1667,7 @@ |
| ASSERT(type_arguments_.IsZoneHandle()); |
| ASSERT(constructor_.IsZoneHandle()); |
| ASSERT(arguments_ != NULL); |
| - ASSERT(!Class::Handle(constructor_.owner()).IsParameterized() || |
| - type_arguments_.IsNull() || |
| + ASSERT(type_arguments_.IsNull() || |
|
siva
2011/10/18 05:06:19
Should the dropped assert be replaced by
ASSERT((c
regis
2011/10/18 17:28:21
Actually, I realized that we should not be passing
|
| (type_arguments_.Length() == |
| Class::Handle(constructor_.owner()).NumTypeArguments())); |
| } |