| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 1334)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -738,6 +738,9 @@
|
| // Check if this type represents the 'Function' interface.
|
| bool IsFunctionInterface() const;
|
|
|
| + // Check if this type represents the 'List' interface.
|
| + bool IsListInterface() const;
|
| +
|
| // Check if this type is an interface type.
|
| bool IsInterfaceType() const {
|
| if (!HasResolvedTypeClass()) {
|
| @@ -790,6 +793,9 @@
|
| // The 'Function' interface type.
|
| static RawType* FunctionInterface();
|
|
|
| + // The 'List' interface type.
|
| + static RawType* ListInterface();
|
| +
|
| // The least specific valid raw type of the given class.
|
| // For example, type A<Dynamic> would be returned for class A<T>, and type
|
| // B<Dynamic, A<Dynamic>> would be returned for B<U, V extends A>.
|
|
|