Files
sdk/pkg/front_end/test/text_representation/data/initializers.dart
T
Johnni Winther 4d37cc40ff [cfe] Support redirecting initializers in inline classes
Closes #52119

Change-Id: Id9322ba7c4571786c8c07b6a36c3b1e3ef94aec9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/303740
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-05-17 12:35:07 +00:00

18 lines
495 B
Dart

// Copyright (c) 2023, 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.
/*library: nnbd=true*/
class Class {
Class();
Class.named(int /*normal|limited.int*/ /*verbose.dart.core::int*/ i);
/*member: Class.initUnnamed:
this()*/
Class.initUnnamed() : this();
/*member: Class.initNamed:
this.named(0)*/
Class.initNamed() : this.named(0);
}