mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:27:17 +00:00
765cdc169c
Bug: https://github.com/dart-lang/sdk/issues/42076 Change-Id: Ia2d4d42540a702301c76ef35e05a9c86e2cee3d3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149220 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
15 lines
489 B
Dart
15 lines
489 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.
|
|
|
|
/// A class must implement a known interface.
|
|
|
|
class Interface2NegativeTest implements BooHoo {}
|
|
// ^^^^^^
|
|
// [analyzer] COMPILE_TIME_ERROR.IMPLEMENTS_NON_CLASS
|
|
// [cfe] Type 'BooHoo' not found.
|
|
|
|
main() {
|
|
Interface2NegativeTest();
|
|
}
|