Files
sdk/pkg/front_end/testcases/general/constructor_patch/main.dart
T
Johnni Winther b05892efa1 [cfe] Report compile time error on evaluation of const external constructors
Closes #46123

Change-Id: I91e9b789683b2bd6acb3b4f559ecce6e70f18afc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207001
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-07-30 11:28:04 +00:00

11 lines
308 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.
import 'dart:test';
main() {
new Class.generative();
const Class.constGenerative();
}