Commit Graph

3591 Commits

Author SHA1 Message Date
Konstantin Shcheglov d5e914ad09 Elements. Fix InstanceElementImpl2.name3, return firstFragment.name2, nullable.
Change-Id: Idd7239c1be692219f1f1ba735f475fe0141c0c6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/430821
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-05-23 10:20:20 -07:00
Sam Rawlins 823b6668f6 analyzer: Rename ErrorSeverityTest to DiagnosticSeverityTest
Work towards https://github.com/dart-lang/sdk/issues/60635

Change-Id: I1361a28834cb95a8b7ad9f131132b7b77e888483
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/430547
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-05-23 10:14:14 -07:00
Sam Rawlins 2dc94ee84a analyzer: Rename DiagnosticCode.errorSeverity to DiagnosticCode.severity
Change-Id: I244a96a940f82902a20e817fd13fe32026607ce3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/430581
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-05-22 17:25:01 -07:00
Sam Rawlins bd700772ff analyzer: move testing utilities to analyzer_testing package
Work towards https://github.com/dart-lang/sdk/issues/55660

Change-Id: Iae062d95e5cf3b94b540496242b3627268ac2612
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428844
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-05-15 16:28:50 -07:00
Konstantin Shcheglov 05da3e1f22 Elements. Deprecate Element.enclosingElement2, use enclosingElement.
Change-Id: I055b1f9dd1c00605d813effcbbadb9cea874129a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428860
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-05-15 13:47:32 -07:00
Konstantin Shcheglov 7eea262f06 Deprecate NamedType.name2, use 'name' instead.
Change-Id: I27725e1530c60a6aa2e197b97e027de1238c964a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427980
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-05-12 08:35:59 -07:00
Konstantin Shcheglov 6d62d9ae38 Use 'constKeyword' as entity name in ConstantPattern.
Change-Id: Ib2286c9a13cf758f0b6040478d93dca23c6b3013
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427940
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-05-12 08:08:07 -07:00
Sam Rawlins c4c9854b9b analyzer_testing: Move ResourceProviderMixin to analyzer_testing
Work towards https://github.com/dart-lang/sdk/issues/55660

Change-Id: I31932409e495369793dd16c017385c98b86cf44c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427480
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-05-09 16:56:29 -07:00
Konstantin Shcheglov 4aeb6c2544 Remove deprecated AnalysisContext.analysisOptions
Change-Id: Ie89087c4cbab17207371254d896f5b2be4ed437b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427602
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-05-09 10:49:01 -07:00
Sam Rawlins 1804a38ad4 analyzer: Use Diagnostic instead of deprecated AnalysisError in tests
Change-Id: I0fdc8664f1bfd0b887dedd3c7399046ec6ccb3b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426901
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2025-05-06 08:56:51 -07:00
Sam Rawlins cfa4be3d93 analyzer: Use DiagnosticSeverity in analyzer packages
Work towards https://github.com/dart-lang/sdk/issues/60635

DiagnosticSeverity is the new name for ErrorSeverity.

Change-Id: I9d1040f23d4fe8affb234ff62527133e439adf50
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426341
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-05-03 17:14:04 -07:00
Sam Rawlins 24fbe71dd6 analyzer: Use DiagnosticCode instead of ErrorCode in tests
Change-Id: I6b70bda2e678777efdfde7c0cb9dca4ec85b27e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425686
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2025-05-01 09:18:03 -07:00
Erik Ernst 2f0cbeb485 Report type parameters whose name is a type in scope
See https://github.com/dart-lang/sdk/issues/59517 for background and discussion.

Change-Id: I6d02d07cdd95e8b2b647cf3f7f87a9f27a1c48b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/381841
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-05-01 04:04:30 -07:00
Konstantin Shcheglov 2cf84f8053 Elements. Rename most XyzElementImpl into XyzFragmentImpl.
Change-Id: I7902ccedd9d3e9ccde1091eb28aad98591791b6e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/424922
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-28 08:35:25 -07:00
Konstantin Shcheglov b2fdd8a345 Elements. Rename XyzElement2 into XyzElement.
The CL was done with rename + adding typedef for each class.

Change-Id: Ia25cc581d2e42cf7d12a85a3579af952d5c232ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/424687
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-25 13:27:18 -07:00
Konstantin Shcheglov 49599e06cc Elements. Deprecated element2.dart library.
Change-Id: I2be38df49e6f242d9fe59f34164549da4a0f41b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/424683
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-04-25 11:23:18 -07:00
Sam Rawlins 5eef8e4ebe analyzer etc: move analysisOptionsContent function to be shared
This function was defined once in analyzer testing code, once in
linter testing code, and once in analysis_server testing code. In this
change, all three are combined into one function in analyzer_utilities.

Change-Id: Ib2daa7b3d14aae6ca2aa09f6f9bdeaf76bc72d10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423068
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-04-21 13:01:36 -07:00
Konstantin Shcheglov becd91df17 Format analyzer/ with tall mode.
Change-Id: I410cd1cf63fbf00b868bbb3e060433cad3ac9e6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423520
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-21 12:15:58 -07:00
Konstantin Shcheglov eefad8c43c Issue 58580. Support for getter_setter_error feature.
Bug: https://github.com/dart-lang/sdk/issues/58580
Change-Id: I1926ffb0157ef1b5c294487b183f93cbcb0ea177
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/422180
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-04-11 15:21:30 -07:00
Johnni Winther dced5e0482 [cfe] Add LocalTypeParameterScope
This cleans up the LocalScope interface and the handling of named function expressions.

Change-Id: Id0432910a9e65d8ae966dfab67c66248639d241a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419842
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2025-04-03 03:43:30 -07:00
Konstantin Shcheglov 8d0037ddc3 Elements. Stop printing V1 resolution.
Change-Id: Ic4e4c7eb94261a15d7b84657408d66b36fead938
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417961
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-27 15:09:32 -07:00
Konstantin Shcheglov 790b0a0974 Elements. Fix printing TypeParameterElementImpl2.
Change-Id: I02b792189b3281a319b3a1d3c55a47b29eb29c8e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417910
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-27 14:06:30 -07:00
Konstantin Shcheglov 77986bd913 Elements. Migrate TypeParameterTypeImpl.
Change-Id: Ib2130458b45a7bd49d2521190894790a7afad294
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415681
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-14 13:06:42 -07:00
Konstantin Shcheglov 4a2e529dc9 Elements. Migrate InstantiatedTypeAliasElementImpl.
Change-Id: I04d60f3198f04ae8b3a8b233731de2feb85288a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415641
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-14 10:26:39 -07:00
Konstantin Shcheglov 0c5c1663ea Elements. Migrate TypeProviderImpl.
Change-Id: Ia4776b55fd040d968b27d1a624d0e884b1c58940
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415480
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-14 08:23:52 -07:00
Brian Wilkerson d360b9db63 [migration] index_test.dart and resolver_test_case.dart
Change-Id: I74139e34f5bdfcbaa163fbf890143dfdabe09eaf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415141
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
2025-03-12 20:37:39 -07:00
Konstantin Shcheglov 02db34a691 Elements. Remove most of AugmentableElement, rename to AugmentableFragment.
Change-Id: Ied24bb46b4b4a74cd06c69c5002e0b32edbdf70f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414582
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2025-03-11 14:49:59 -07:00
Konstantin Shcheglov 877e8de91a Elements. AugmentedInstanceElement remove fields, accessors.
Change-Id: Icaa3d0dcdd6aeea8c180e21e407091639c791020
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414186
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-10 08:56:01 -07:00
Konstantin Shcheglov 283d3154a5 Elements. AugmentedExtensionTypeElement remove primaryConstructor, representation, typeErasure.
Change-Id: I01c654429367575cf40e1cc41165aa6f7652a8c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414201
Reviewed-by: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-07 22:43:57 -08:00
Konstantin Shcheglov 6a7fd7cedb Elements. Remove from AugmentedInterfaceElement 'interfaces' and 'mixins'.
Change-Id: I95d4d11c0a5b0a5ccbfe7890f87cf3836a7a39f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414182
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-06 13:30:33 -08:00
Konstantin Shcheglov 4bd9df1e2b Elements. Remove support for augmentations and methods.
We don't support augmentations feature yet, and it turned out to be
complicated finishing migration while keeping the current implementation.

Change-Id: I035ecfa74cc107bd9d21a935f76d92987835f542
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413940
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-06 09:26:29 -08:00
Konstantin Shcheglov a296f24193 Elements. Deprecate 'augmented'.
Change-Id: I4f159c6a8e26d350e2189b2afcf19b97d5fd2bcd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413562
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-03-05 12:36:08 -08:00
Jens Johansen f702c93b1a [analysis server] Sort members more consistant
I ran into an issue (in a child CL) where I couldn't satisfy the sort
test because it kept changing the ordering of "p" and "P" because the
sorting does `.toLowerCase` before comparing.
In this CL - when the result of comparing with a `.toLowerCase` is 0 it
compares without the `.toLowerCase` call.

Change-Id: Ieed0f199cb61ea45d475c5271a127fbf4463edb7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413420
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-03-04 22:56:39 -08:00
Konstantin Shcheglov 5bf9bdb496 Elements. Deprecate V1 getters in src/dart/ast/ast.dart
Change-Id: I072b119e2e5b49eb0a286bd805d8280448ca9782
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413160
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-03-03 15:55:30 -08:00
Konstantin Shcheglov 91f5aad129 Elements. Deprecate V1 APIs in dart/element/type.dart
Add InterfaceType.getGetter2() and getSetter2().

Change-Id: I9f32fff71a9b643cc9fd46f0aaa87233689a9660
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412940
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-02-28 14:18:59 -08:00
Konstantin Shcheglov 142f941b5b Elements. Avoid List.cast() mostly when create InterfaceTypeImpl.
This is a bit tricky because the API for `instantiate()` is that we
accept `List<DartType> typeArguments`, and the clients generally will
give us `List<DartType>`, not `List<TypeImpl>`. But we want `List<TypeImpl>`.

So, I added `instantiateImpl`, and use it in the analyzer, and avoid a forcing `<TypeImpl>[]`, type check and `cast<TypeImpl>()`.

Change-Id: I5e8e0ed77853b88e8a1dbc6360ab8ad29b803206
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412782
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-02-28 08:17:29 -08:00
Paul Berry 79a3052b6d [analyzer] Expose some inheritance manager methods through the public API.
A few analyzer clients make use of the private `InheritanceManager3`
class, notably:

- `package:mockito`,
- `package:dartdoc`,
- `package:analyzer_plugin`
- The Google-internal logic to integrate Dart with Kythe.

This creates a breakage risk, because private classes of the analyzer
might get updated at any time without a major version number change.

This CL introduces new methods and getters to the `InterfaceElement2`
class, providing the functionality needed by the above clients. It
also exposes the formerly private `Name` class, which is referred to
by the new methods and getters. Once a new version of the analyzer
containing this change has been published, I will update the clients
to use the new public API.

Change-Id: I859409a5e3009521d1df8ff6187329aedfb73fa2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412621
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2025-02-28 07:30:49 -08:00
Konstantin Shcheglov fe3c184acd Elements. Use more TypeImpl, and less casts.
Change-Id: I98e3818380cb58d04aa5017a3047bb156ab4c9b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412500
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-27 09:07:21 -08:00
Konstantin Shcheglov 6c685476ae Elements. Use more TypeImpl in TypeSystemImpl and clients.
Change-Id: Idd3c5b97ac37fd427591d1c303da5985b213040a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412402
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-02-26 11:28:04 -08:00
Konstantin Shcheglov 4140c5fb0a Elements. Migrate ElementsTypesMixin to TypeImpl.
Change-Id: Icb33629c0eb6482089e73b30a0dfeb073f1058d6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410560
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2025-02-18 10:54:08 -08:00
Konstantin Shcheglov 9d96cd9d9c Elements. Migrate ElementsTypesMixin, part#4
Change-Id: I66c188d2c8502c753fdc1c64d1f2759022b86bc9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409820
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2025-02-13 13:37:22 -08:00
Konstantin Shcheglov 2710e34c95 Elements. Migrate ElementsTypesMixin, part#3
Change-Id: I6c27e6c0a374bb378b3527e0970b87b0e4ddba83
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409620
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-13 09:06:30 -08:00
Konstantin Shcheglov 61eeb2d34e Elements. Migrate ElementsTypesMixin, part#2
Change-Id: I1438e2f2027c6e5fe3934497e4bd6d2de12a2575
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409541
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-12 17:06:57 -08:00
Konstantin Shcheglov 9d822ed270 Elements. Migrate ElementsTypesMixin, part#1.
Change-Id: I775d8f3fd24d1d0310b499aa71582a75ef7e7808
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409384
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-12 13:01:31 -08:00
FMorschel 1a0b1fe496 [DAS] Fixes renaming closure parameter
R=scheglov@google.com

Fixes: https://github.com/dart-lang/sdk/issues/60047
Fixes: https://github.com/dart-lang/sdk/issues/60046

Change-Id: I24b62213c6ef81e76603e7bffabe463c9ca96dcf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408140
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Auto-Submit: Felipe Morschel <git@fmorschel.dev>
2025-02-12 12:48:28 -08:00
Sam Rawlins 50c1d9e1a3 analyzer: Fix remaining comment reference issues
Change-Id: I345c8d25e9f27dedffc596a2040cd89e059eb46e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408880
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2025-02-11 07:12:20 -08:00
Konstantin Shcheglov 3700d33203 Elements. Migrate type_algebra_test.dart
Change-Id: If9c1ef42eb9f0b9f83cad42429c99b4a2a95dd5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408142
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-05 14:23:27 -08:00
Konstantin Shcheglov 79d9e91e2e Elements. Migrate ClassHierarchy.
Change-Id: I10560227b6124849f905e4cd4669280d76751595
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407181
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2025-02-02 17:24:00 -08:00
Chloe Stefantsova 11edab5264 [analyzer] Add correction for adding '?' before null-aware elements
Part of https://github.com/dart-lang/sdk/issues/56989

Change-Id: I487790e796a37679fd5fe1c9bc1e72ccb6248249
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405520
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
2025-01-28 23:06:04 -08:00
pq 048b4ac107 [element model] migrate non_error_resolver_test
Change-Id: Id18ca7bb116f2c0624f6a94005d879e2401f6226
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405562
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Phil Quitslund <pquitslund@google.com>
2025-01-23 13:30:01 -08:00