Files
sdk/tests/language/getter/syntax_runtime_1_test.dart
T
Robert Nystrom 415cab79d3 Migrate language_2/getter to NNBD.
Change-Id: Ibe4be604f5002c125aba64c051793b750f31638a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147819
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2020-05-14 19:16:39 +00:00

51 lines
589 B
Dart

// TODO(multitest): This was automatically migrated from a multitest and may
// contain strange or dead code.
// Copyright (c) 2012, 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.
var get;
var set;
class C0 {
var get;
var set;
}
class C1 {
List? get;
List? get a => null;
List? set;
}
class C2 {
List<int>? get;
List<int>? get a => null;
List<int>? set;
}
main() {
new C0();
new C1();
new C2();
}