3d19493f2d
+ add predicate helpers to identify these and extract their original names. TEST=pkg/front_end/test/predicates/predicate_test.dart Change-Id: I4d94c575d010b6b01c985eaf5392b9e0e979d044 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175250 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
18 lines
530 B
Dart
18 lines
530 B
Dart
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
extension Extension on int {
|
|
int /*extensionThis*/ instanceMethod() => this;
|
|
|
|
int get /*extensionThis*/ instanceGetter => this;
|
|
|
|
void set /*extensionThis*/ instanceSetter(int value) {}
|
|
|
|
static int staticMethod() => 42;
|
|
|
|
static int get staticGetter => 42;
|
|
|
|
static void set staticSetter(int value) {}
|
|
}
|