f541f060ee
This adds checks for allocations and type values, and provides a compile time error for type declarations, is-checks, and as-casts. Change-Id: I3bfed41b0dd45abeb02158f0537102c779511998 Reviewed-on: https://dart-review.googlesource.com/36383 Commit-Queue: Sigmund Cherem <sigmund@google.com> Reviewed-by: Peter von der Ahé <ahe@google.com>
11 lines
305 B
Dart
11 lines
305 B
Dart
// Copyright (c) 2018, 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.md file.
|
|
|
|
import 'deferred_lib.dart' deferred as lib;
|
|
|
|
main() {}
|
|
test() {
|
|
print(lib.C.m());
|
|
}
|