| Index: runtime/vm/object.h
|
| ===================================================================
|
| --- runtime/vm/object.h (revision 25979)
|
| +++ runtime/vm/object.h (working copy)
|
| @@ -941,7 +941,9 @@
|
|
|
| void Finalize() const;
|
|
|
| - const char* ApplyPatch(const Class& patch) const;
|
| + // Apply given patch class to this class.
|
| + // Return true on success, or false and error otherwise.
|
| + bool ApplyPatch(const Class& patch, Error* error) const;
|
|
|
| RawError* EnsureIsFinalized(Isolate* isolate) const;
|
|
|
| @@ -1664,8 +1666,9 @@
|
|
|
| // Returns true if this function has parameters that are compatible with the
|
| // parameters of the other function in order for this function to override the
|
| - // other function. Parameter types are ignored.
|
| - bool HasCompatibleParametersWith(const Function& other) const;
|
| + // other function.
|
| + bool HasCompatibleParametersWith(const Function& other,
|
| + Error* malformed_error) const;
|
|
|
| // Returns true if the type of this function is a subtype of the type of
|
| // the other function.
|
|
|