f591ad7d88
The exempts types for synthesized variables to avoid emitting a warning on `o?.foo` when `o` is a legacy type. Closes #42276 Closes #42003 Change-Id: Ideaf099e25c0d50a35a2e704a29aacceb22142b1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151516 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
8 lines
262 B
Dart
8 lines
262 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=2.6
|
|
|
|
String returnString() => "foo";
|