Konstantin Shcheglov
3672b4e5ac
Elements. Migrate NamedTypeResolver.
...
Change-Id: I310115b805f97bfdb384cb14b2bf9ab7ef0c898f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408920
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-10 12:58:04 -08:00
Danny Tuppeny
3ded147e2e
[analysis_server] Make format of LSP completion tests more consistent
...
No functional changes here, only formatting/code style:
- Remove additional intending from embedded code in some tests (which didn't match others in this file or the style of other tests in the server)
- Change expression-bodied-tests to block bodies where they're not on a single line
Change-Id: I2c15bbcf7b7accff85f34a4e9ad5afa3e0a0a221
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2025-02-10 10:27:40 -08:00
Konstantin Shcheglov
a0bc103d64
Elements. Migrate TypePropertyResolver.
...
Change-Id: Id7d76e4318c429fe8aab2661fa33e618e501200e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408720
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-10 09:47:44 -08:00
Paul Berry
274f5639f7
[Flow analysis] Remove PropertyNotPromoted.staticType.
...
This field was only used to populate expectation strings in "id"
tests; it did not affect any user-visible behavior of the analyzer or
CFE.
Including information in "id" tests that doesn't affect any
user-visible behavior isn't helpful. Removing this field will enable
some upcoming flow analysis refactoring work (I intend to remove the
`ExpressionInfo._type` field, replacing its remaining usages with a
more reliable mechanism).
Change-Id: Id4c6593fae4ef25b8c21f0625e6c1f9eaa766e17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406403
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2025-02-08 16:51:15 -08:00
Paul Berry
eb5983869c
[analyzer] Fix PartElementImpl.enclosingUnit.
...
`PartElementImpl.enclosingElement3` has static type `Element?`, but in
practice it is always of type `CompilationUnitElementImpl`, due to
this code from `CompilationUnitElementImpl.parts=`:
set parts(List<PartElementImpl> parts) {
for (var part in parts) {
part.enclosingElement3 = this;
var uri = part.uri;
if (uri is DirectiveUriWithUnitImpl) {
uri.unit.enclosingElement3 = this;
}
}
_parts = parts;
}
Therefore, `PartElementImpl.enclosingUnit` can just cast
`enclosingElement3` to the proper type and return it.
This behavior was untested, so I've added a test in
`part_test.dart`. Without the fix, the test throws a `TypeError`.
Change-Id: I3e6f186826aa92cda9c3887c85c5eddc1fea7f31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408641
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-08 08:15:19 -08:00
Konstantin Shcheglov
c3a4f56e69
Fine. Return from LibraryContext without logging if the cycle is already loaded.
...
It writes too much, and with fine grained dependencies this is especially
prominent, we don't do analysis for most of files afterwards.
Change-Id: Idccef82f3b46980b6942c403871f588e21e128c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408680
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-02-07 15:24:49 -08:00
Konstantin Shcheglov
e3d809f1c2
Elements. Migrate PrefixedIdentifierResolver.
...
Change-Id: Ia9104be728f7ddd08e1eb8591d5fa7ef9027e7ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408501
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-02-07 14:09:30 -08:00
pq
c87b18581a
[CQ] rationalize/unify test lint registration
...
Eliminates duplication and promotes hermetic tests (some were registering and failing to unregister test lints).
Bug: https://github.com/dart-lang/sdk/issues/60036
Change-Id: I9d0fe5fd610b51ce9000decbf75da2338ed87737
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408320
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2025-02-07 13:09:28 -08:00
Konstantin Shcheglov
85724ebdaf
Elements. Migrate lib/src/summary2/extension_type.dart
...
Change-Id: I331f0c1db4129deb224cd31f22e97dc028dfdb06
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408500
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-02-07 10:45:30 -08:00
Kallen Tu
89e545c5cc
[dot-shorthands][co19] Rename enum-shorthands flag to dot-shorthands (and roll co19 to b14b080)
...
We've decided to rename enum shorthands to dot shorthands. It describes the entire feature better. It's not only for enum values. We'll update the experiment name before the implementation goes in, that way our users can use a flag that matches the actual feature name.
Additionally, roll co19 to b14b0802e696a60c79b00d0f052e26fb986f0faf so we can avoid an infra failure with co19 using what's now an unknown feature flag (enum-shorthands).
2025-02-06 sgrekhov22@gmail.com Fixes dart-lang/co19#3067 . Rename the static access shorthand feature experiment flag (dart-lang/co19#3068 )
Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try
Bug: https://github.com/dart-lang/sdk/issues/57037
Change-Id: I031e3bce8166145b24dbb77acf259d78e6e00f0a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407603
Reviewed-by: Alexander Thomas <athom@google.com >
Reviewed-by: Erik Ernst <eernst@google.com >
Commit-Queue: Kallen Tu <kallentu@google.com >
2025-02-07 07:38:32 -08:00
Konstantin Shcheglov
26b3e61ffe
Prepare to publish analyzer 7.3.0 and _fe_analyzer_shared 80.0.0
...
Change-Id: I5d35f23752d8dadfc118ae92a3f8fcf3928cc60e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408422
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2025-02-06 18:57:40 -08:00
Jaime Wren
7349ef5e11
[analyzer] Fix message for ENUM_WITHOUT_CONSTANTS
...
This will resolves https://github.com/dart-lang/sdk/issues/60053
Bug: https://github.com/dart-lang/sdk/issues/60053
Change-Id: I245814c60668f045b3fdb01358637bb142989640
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408440
Commit-Queue: Jaime Wren <jwren@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-02-06 14:40:18 -08:00
Phil Quitslund
50f96d6e5b
Revert "[diagnostics] fix removed_lint reporting"
...
This reverts commit a9f288a810 .
Reason for revert: Flutter roll blocking
Original change's description:
> [diagnostics] fix `removed_lint` reporting
>
> Bug: https://github.com/dart-lang/sdk/issues/59869
> Change-Id: I0b69f4380e0b556f6612294a3c6485cebd5e56fd
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407621
> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
> Commit-Queue: Phil Quitslund <pquitslund@google.com >
Bug: https://github.com/dart-lang/sdk/issues/59869
Change-Id: I70063e64bd5c5792c57e8194416a4a0d2e6df8ed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408400
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com >
2025-02-06 13:42:40 -08:00
FMorschel
07b7cfed07
New assist to add/edit hide at import for ambiguous import
...
Closes https://github.com/dart-lang/sdk/pull/56762
GitOrigin-RevId: af16e245090fa66e6212801cd862d809f5ede640
Change-Id: Ibbc49c36860ba6e58c45dfc40029e2375396c153
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386020
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2025-02-05 15:49:35 -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
5f9e3af19c
Elements. Migrate BinaryExpressionResolver.
...
Change-Id: I0dba2a875bb844aff5b8e10ebd879d563909daca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408160
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-05 11:52:18 -08:00
Sam Rawlins
052e03c829
DAS plugins: Support plugin-namespaced inline ignore comments
...
Fixes https://github.com/dart-lang/sdk/issues/59647
Change-Id: I303c83c3a486d6eb495e890007127215357e2864
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406686
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2025-02-04 07:53:02 -08:00
Daco Harkes
98e29db45c
[native_assets] Disable experiment on stable and beta channel
...
We want to avoid users passing `--enable-experiment=native-assets` on
stable and beta, as we'd like to move fast and break things on the
experiment. This aligns the experiment with how the experiment is
working in Flutter: main and dev branch only.
Before this CL, dartdev did not check experiment flags. Unknown
experiments would fail in the VM. After this CL, dartdev checks the
experiment flags and errors out early.
Change-Id: I875ea3272f4b67342da19ea2e4be329a4b380573
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406660
Commit-Queue: Daco Harkes <dacoharkes@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2025-02-04 03:36:43 -08:00
Parker Lougheed
d678a7e191
[analyzer] Stop generating the diagnostics.md file
...
dart.dev now consumes the source YAML files, so generating the Markdown file is no longer necessary.
The contents of the YAML files are still verified as before.
Resolves https://github.com/dart-lang/site-www/issues/6387
Change-Id: I8b989b598ec3c7abef66242dceb9d5a481f43e39
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407640
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Auto-Submit: Parker Lougheed <parlough@gmail.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2025-02-03 22:13:10 -08:00
pq
a9f288a810
[diagnostics] fix removed_lint reporting
...
Bug: https://github.com/dart-lang/sdk/issues/59869
Change-Id: I0b69f4380e0b556f6612294a3c6485cebd5e56fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407621
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2025-02-03 16:32:37 -08:00
Parker Lougheed
2e13d4d954
[linter] Doc and changelog updates
...
Change-Id: I64554034fc510afdab1c3e1dab18a3855fd31b09
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406782
Commit-Queue: Marya Belanger <mbelanger@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Auto-Submit: Parker Lougheed <parlough@gmail.com >
2025-02-03 15:08:15 -08:00
Konstantin Shcheglov
0d03fb88d6
Make more methods synchronous.
...
Change-Id: I116c3baea380208e10bbbe3de0b1d6258c2a896b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407503
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-03 14:57:08 -08:00
Konstantin Shcheglov
0b11d0c9e6
Elements. Migrate VarianceBuilder.
...
Change-Id: I490145959037ca4e2f584340b1714fa36d47f38e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407520
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-03 10:31:39 -08:00
Konstantin Shcheglov
c93b1ff171
Elements. Migrate DartObjectImplTest.
...
Change-Id: Id748ad77dd7692a04d6b432619ab3dad9da9eaa4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407501
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-03 09:59:09 -08:00
Konstantin Shcheglov
1cfbde886b
Elements. Migrate analyzer/test/src/dart/micro/simple_file_resolver_test.dart
...
Change-Id: If1ed7362fd07c394e9b475472136b27fc82d3ded
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407500
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-03 09:18:15 -08:00
Konstantin Shcheglov
14e7e66e99
Linking libraries is not async anymore.
...
Change-Id: Id009fe12ae6283c4faa2500a86ed589d9729bb60
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407300
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-03 08:01:05 -08:00
Konstantin Shcheglov
152963b149
Elements. Migrate FunctionTypeBuilder.
...
Change-Id: I9fc6acd85170a328c99b624da29d8e6fd7ffb769
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407162
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-02 17:45:57 -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
Konstantin Shcheglov
150c7917f2
Elements. Migrate SimpleIdentifierResolver.
...
Change-Id: I4ab857ab64ae787bc4106f2f2a9c81e5fd7f4f8b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407260
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-02-02 16:52:31 -08:00
Konstantin Shcheglov
385f41f7b8
Elements. Migrate src/dart/element/scope.dart
...
Change-Id: Id5f07a688138f463e307cb145d56cb286ba85cac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407220
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-31 16:26:47 -08:00
Konstantin Shcheglov
df96f151ca
Elements. APIs for constant initializers.
...
I found that we have ConstTopLevelVariableElementImpl,
ConstFieldElementImpl, DefaultSuperFormalParameterElementImpl, etc.
But we don't have corresponding Element2.
And this is probably good.
Having so many classes might be too much.
Why not turn the constant initializer into a property?
Change-Id: I1fe7c2709e2bee4d8868e2916a3b3e8f7a6fb1f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406880
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-01-31 16:26:28 -08:00
Konstantin Shcheglov
f259e6b8a8
Elements. Migrate ImportsVerifier.
...
Change-Id: I5dcab58f5b21436a43fdd169568334639626b6d3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407120
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-01-31 12:01:39 -08:00
Konstantin Shcheglov
2946ea71d5
Macro. Remove more from analyzer/ and analysis_seever/.
...
Change-Id: Id5426cce73395d3d95657cf1e0b5f9d85fe3f574
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406921
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-01-31 11:35:10 -08:00
Konstantin Shcheglov
38d534ea57
Elements. Make PropertyAccessorElement2.enclosingElement2 non-nullable.
...
Change-Id: If54f6428cbf8e96cb84e9eb2e989104b2f56cbce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406689
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-01-31 11:00:40 -08:00
Konstantin Shcheglov
b528b6e441
Macro. Remove most of the implementation.
...
Change-Id: Icd5966b91fb594a618dde38bb8b4c217ede75d9a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406724
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2025-01-30 14:58:41 -08:00
Konstantin Shcheglov
0235cf4efd
Elements. Migrate PrefixExpressionResolver.
...
Change-Id: I0d54fc62353e87e10193d707e9586604585bba37
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406900
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2025-01-30 14:58:05 -08:00
Konstantin Shcheglov
f287cd2838
Elements. Migrate VariableDeclarationResolver.
...
Change-Id: I4b28ec4a03bb6e0591c12d0c262fec9bedf0ecd9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406688
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2025-01-30 14:57:30 -08:00
Konstantin Shcheglov
c7fc65a514
Elements. Migrate computeSimplyBounded().
...
Change-Id: Ibf62f9f804565db257ed83dc867d9bb88a6b6f15
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406783
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2025-01-30 14:56:48 -08:00
Konstantin Shcheglov
e42a9195d2
Elements. Migrate FunctionExpressionResolver.
...
Change-Id: I447bd537d1c70351f659efd12f5e404e7251a7c2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406401
Reviewed-by: Keerti Parthasarathy <keertip@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-30 11:53:58 -08:00
Konstantin Shcheglov
6e17841614
Macro. Remove tests from analyzer/ and analysis_server/.
...
Change-Id: Iabe04d7ff8fe0cc9b605d0c18fd47591fd02d6bd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406681
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 14:58:19 -08:00
pq
a11d2feb92
[CQ] enforce unnecessary_ignore
...
Change-Id: Id2c57e56425aa31e86b78f081d71575e8fec7838
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406722
Auto-Submit: Phil Quitslund <pquitslund@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2025-01-29 14:49:38 -08:00
Konstantin Shcheglov
6d54fd365b
Elements. Migrate ResolutionTest to the end.
...
Change-Id: Ia93a7f4a324bb19671d226241af9ad0e6c6de479
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406680
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 13:17:33 -08:00
Konstantin Shcheglov
35a10987e1
Elements. Migrate InferredTypeTest.
...
Change-Id: I6c9d0000eb333db1bfbb42f686c447fcea6d0d61
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406720
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 13:10:11 -08:00
Konstantin Shcheglov
1fe5663121
Elements. Avoid a few casts to LibraryElementImpl.
...
Change-Id: Iae09862d3d9fd14900b6ffe9fda4f542aad877a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406721
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
2025-01-29 13:09:29 -08:00
Konstantin Shcheglov
74d55b4426
Elements. Migrate to TypeSystemImpl.instantiateInterfaceToBounds2()
...
Change-Id: Ifde7a24b66d1ed27dc8cdaa99d241d39ca823f74
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406740
Reviewed-by: Keerti Parthasarathy <keertip@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 12:56:59 -08:00
Konstantin Shcheglov
94707b6b85
Add 'flags' to FeatureSet.latestLanguageVersion()
...
Change-Id: Iebeaf74ff44c2079b319308638fa731a013fdb90
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406221
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2025-01-29 10:02:00 -08:00
Konstantin Shcheglov
a6668da784
Elements. Migrate TypeAliasSelfReferenceFinder.
...
Change-Id: I6c9048b02d01144a44404cb836b2c545b9a79adf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406223
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 09:19:42 -08:00
Konstantin Shcheglov
3392647215
Elements. Migrate ConstructorReferenceResolver.
...
Change-Id: Ib9debc57f199cf33529807350a443b0db94e208d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406460
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 09:19:29 -08:00
Konstantin Shcheglov
366f33f7c8
Record LibraryAnalyzer and resolve / diagnostics performance.
...
Change-Id: I2d511a444df2a004ccce68343a89ce8b7d53aae0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406341
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-01-29 09:11:37 -08:00
Konstantin Shcheglov
dc77d08abd
Elements. Migrate PrefixElementResolutionTest into LibraryFragmentElementTest.
...
Change-Id: Id894f7a51504de5dd9dd8bce62f0fddca4734267
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/406440
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-01-29 09:04:58 -08:00