Files
sdk/tests/modular/nested_constants/def.dart
T
Johnni Winther d68b482f26 [cfe] Handle constructor from external libraries
Closes #37532

Change-Id: I8b07addeb1da6bc4fe165ff535944fab8c6698b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109261
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2019-07-17 06:26:34 +00:00

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();