e1ed5e42bb
This ensures that the same inference is performed regardless of whether it has been triggered by top level inference or by local inference. Change-Id: I12c853773211fdb144a3795fe103e5628a7439c4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267322 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
11 lines
265 B
Dart
11 lines
265 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 file.
|
|
|
|
var a = () {
|
|
b = c + 1;
|
|
};
|
|
|
|
var b;
|
|
var c = 1;
|