mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:27:17 +00:00
c632a629ff
This makes both compilers report a compile-time error when importing dart:mirrors. Change-Id: I23360b87ee31fba36fe7c111cee1987aa2d50638 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154622 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
11 lines
403 B
Dart
11 lines
403 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.
|
|
|
|
// 'dart:mirrors' can no longer be imported, doing so produces a static error.
|
|
import 'dart:mirrors'; //# 01: compile-time error
|
|
|
|
main() {
|
|
reflect(main); //# 01: continued
|
|
}
|