Files
sdk/pkg/front_end/testcases/nnbd_mixed/issue42660_lib.dart
T
Johnni Winther f371096b58 [cfe] Remove unneeded 2.10 annotation in CFE tests
The files are meant to be opted in and fixing the version 2.10 will
make them break when the current sdk version is changed.

Change-Id: I4124524f4c764bce4ef45e58ce15d806fb35db06
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168820
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2020-10-22 08:07:49 +00:00

23 lines
454 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 E on int {
String m() => 'm';
}
int? f() => 4;
int? get p => 4;
class Class<T> {
int? f() => 4;
int? get p => 4;
int? operator [](int index) => 4;
int? operator -() => 4;
int? operator +(Object? other) => 4;
}