fb137ff73e
Change-Id: I942f2b0b08e69012140d4671722411c86b073504 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413681 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
17 lines
419 B
Dart
17 lines
419 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';
|
|
|
|
test() {
|
|
new Class._private(); // Error
|
|
new Class._privateInjected(); // Error
|
|
new Class3(); // Error
|
|
}
|
|
|
|
main() {
|
|
new Class.generative();
|
|
const Class.constGenerative();
|
|
}
|