d68b482f26
Closes #37532 Change-Id: I8b07addeb1da6bc4fe165ff535944fab8c6698b2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109261 Reviewed-by: Nicholas Shahan <nshahan@google.com>
16 lines
322 B
Dart
16 lines
322 B
Dart
// Copyright (c) 2019, 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.
|
|
|
|
class B {
|
|
const B();
|
|
}
|
|
|
|
class A {
|
|
final B b;
|
|
const A(this.b);
|
|
}
|
|
|
|
const ab = A(B());
|
|
const b = B();
|