Files
sdk/tests/language/inference/circularity_test.dart
T
Robert Nystrom 39fbdcd2c9 Migrate language_2/inference to NNBD.
Change-Id: Iea8e8826b41d3996916dd24153ab846ef49eeda4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148945
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2020-05-29 19:24:14 +00:00

12 lines
340 B
Dart

// Copyright (c) 2017, 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.
var /*@compile-error=unspecified*/ x = () => y;
var /*@compile-error=unspecified*/ y = () => x;
void main() {
x;
y;
}