| Index: runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
|
| diff --git a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
|
| index d017211f122d58c8d58ac017ed1b8e82aa17e264..7733e1d1fe28c7330dadc6d50331733200ce85e5 100644
|
| --- a/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
|
| +++ b/runtime/observatory/tests/observatory_ui/mocks/objects/function.dart
|
| @@ -12,8 +12,13 @@ class FunctionRefMock implements M.FunctionRef {
|
| final bool isConst;
|
| final M.FunctionKind kind;
|
|
|
| - const FunctionRefMock({this.id, this.name, this.dartOwner,
|
| - this.isStatic : false, this.isConst : false, this.kind});
|
| + const FunctionRefMock(
|
| + {this.id,
|
| + this.name,
|
| + this.dartOwner,
|
| + this.isStatic: false,
|
| + this.isConst: false,
|
| + this.kind});
|
| }
|
|
|
| class FunctionMock implements M.Function {
|
| @@ -38,11 +43,27 @@ class FunctionMock implements M.Function {
|
| final bool isRecognized;
|
| final bool isNative;
|
| final String vmName;
|
| - const FunctionMock({this.id, this.name, this.clazz, this.size, this.dartOwner,
|
| - this.isStatic : false, this.isConst : false, this.kind, this.location,
|
| - this.code, this.unoptimizedCode, this.field, this.usageCounter: 0,
|
| - this.icDataArray: const InstanceRefMock(), this.deoptimizations: 0,
|
| - this.isOptimizable: false, this.isInlinable: false,
|
| - this.hasIntrinsic: false, this.isRecognized: false, this.isNative: false,
|
| - this.vmName: 'function-vm-name',});
|
| + const FunctionMock({
|
| + this.id,
|
| + this.name,
|
| + this.clazz,
|
| + this.size,
|
| + this.dartOwner,
|
| + this.isStatic: false,
|
| + this.isConst: false,
|
| + this.kind,
|
| + this.location,
|
| + this.code,
|
| + this.unoptimizedCode,
|
| + this.field,
|
| + this.usageCounter: 0,
|
| + this.icDataArray: const InstanceRefMock(),
|
| + this.deoptimizations: 0,
|
| + this.isOptimizable: false,
|
| + this.isInlinable: false,
|
| + this.hasIntrinsic: false,
|
| + this.isRecognized: false,
|
| + this.isNative: false,
|
| + this.vmName: 'function-vm-name',
|
| + });
|
| }
|
|
|