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>
10 lines
284 B
Dart
10 lines
284 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.
|
|
|
|
import 'issue42003_lib.dart';
|
|
|
|
main() {
|
|
returnString()?.length;
|
|
}
|