blob: 2b84ac826c5118538e61b5cc2e92045e4c778083 [file] [log] [blame]
// 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,
name=this
*/
instanceMethod() => this;
int get /*
extensionThis,
name=this
*/
instanceGetter => this;
void set /*
extensionThis,
name=this
*/
instanceSetter(int value) {}
static int staticMethod() => 42;
static int get staticGetter => 42;
static void set staticSetter(int value) {}
}