Konstantin Shcheglov
8779d4e9a7
Breaking changes for analyzer version 14.0.0
...
Change-Id: I3bd6b1bbf60bb1b45f46e62ebf448f27f103f98e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509561
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2026-06-11 11:59:47 -07:00
Konstantin Shcheglov
dbeb7e1e5b
Prepare to publish analyzer 13.3.0, _fe_analyzer_shared 103.0.0, analysis_server_plugin 0.3.18, analyzer_plugin 0.14.12, analyzer_testing 0.3.2
...
Change-Id: I0a5bf96733f2908160a6ef2ee99f54ef25f11547
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/511480
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2026-06-11 10:59:52 -07:00
Konstantin Shcheglov
78f9ab6cb8
Start analyzer 13.3.0-dev, analyzer_plugin 0.14.12-dev, analyzer_testing 0.3.2-dev, analysis_server_plugin 0.3.18-dev
...
Change-Id: I2a9e762e2f5b3fd4762ee0d0eb22296db0f3dff4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/511021
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-06-10 13:03:15 -07:00
Konstantin Shcheglov
e4ef831dfc
Prepare to publish analyzer 13.2.0, _fe_analyzer_shared 102.0.0, analysis_server_plugin 0.3.17, analyzer_plugin 0.14.11, analyzer_testing 0.3.1
...
Change-Id: I534e30c37570cf5fdc194eb9668d37747823aa82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/510480
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-06-10 10:52:25 -07:00
Konstantin Shcheglov
46bb00bfae
Start analyzer 13.2.0-dev, analyzer_plugin 0.14.11-dev, analyzer_testing 0.3.1-dev, analysis_server_plugin 0.3.17-dev
...
Change-Id: I08c2d7d8829ebe0eba147baa52a754e71b43c145
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509520
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-06-04 12:51:41 -07:00
Konstantin Shcheglov
050afdb4ae
Prepare to publish analyzer 13.1.0, _fe_analyzer_shared 101.0.0, analysis_server_plugin 0.3.16, analyzer_plugin 0.14.10, analyzer_testing 0.3.0
...
Change-Id: I61d4d2e2da18ed1ea2c1eaf78138a32774535be0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509162
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2026-06-04 11:21:35 -07:00
Konstantin Shcheglov
84ce4ba3df
Start analyzer 13.1.0-dev, analyzer_plugin 0.14.10-dev, analyzer_testing 0.2.7-dev, analysis_server_plugin 0.3.16-dev
...
Change-Id: If445461ac9c3fca85656c69d66fb5e99a5d2e339
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497380
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-04-22 12:36:09 -07:00
Konstantin Shcheglov
f2c40f98fd
Prepare to publish analyzer 13.0.0, _fe_analyzer_shared 100.0.0, analysis_server_plugin 0.3.15, analyzer_plugin 0.14.9, analyzer_testing 0.2.6
...
Change-Id: I67692af1ed67a50b55ba1e7a5d907f85e6572040
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497342
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2026-04-22 11:38:06 -07:00
Konstantin Shcheglov
6cd3938741
Breaking changes for analyzer 13.0.0
...
https://github.com/dart-lang/sdk/issues/62799
https://github.com/dart-lang/sdk/issues/62944
https://github.com/dart-lang/sdk/issues/63002
https://github.com/dart-lang/sdk/issues/62970
Looks mostly green in google3: https://fusion2.corp.google.com/presubmit/901021300/OCL:901021300:BASE:901308428:1776439417713:37cd1695
Change-Id: I44754a48f66a0b58851d7c20fcfa61f7fb1b555a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/488624
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-04-17 23:06:25 -07:00
Konstantin Shcheglov
9bec262263
FixCrash. Fix inferUndefinedExpressionType() to handle missing positional / named record type field.
...
Change-Id: Ie3758d195f8f4e352880616c50b1f28a7337eeb5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/493964
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-04-08 17:28:26 -07:00
Konstantin Shcheglov
7ecd14fb10
Start analyzer 12.2.0-dev, analyzer_plugin 0.14.9-dev, analyzer_testing 0.2.6-dev, analysis_server_plugin 0.3.15-dev
...
Change-Id: I426a42588163b3e3680fea80ff7965ca7d076eb7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/493920
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2026-04-08 13:06:30 -07:00
Konstantin Shcheglov
1b3b1a154f
Prepare to publish analyzer 12.1.0, _fe_analyzer_shared 99.0.0, analysis_server_plugin 0.3.14, analyzer_plugin 0.14.8, analyzer_testing 0.2.5
...
Bug: https://github.com/dart-lang/sdk/issues/63113
Change-Id: I58a32cfd25dfdd4663aefa79ddaa64dda67d486a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/493481
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2026-04-08 10:54:40 -07:00
Konstantin Shcheglov
23e558876a
Start analyzer 12.1.0-dev, analyzer_plugin 0.14.8-dev, analyzer_testing 0.2.5-dev, analysis_server_plugin 0.3.14-dev
...
Change-Id: Ib0971736635e507fbd1cc4a214ccba8beea83639
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490346
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-03-24 17:03:40 -07:00
Konstantin Shcheglov
ea94b269d1
Prepare to publish analyzer 12.0.0, _fe_analyzer_shared 98.0.0, analysis_server_plugin 0.3.13, analyzer_plugin 0.14.7, analyzer_testing 0.2.4
...
Change-Id: Ia46a1ba04db30a15d8848e8e1586795921a33ed1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/488241
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2026-03-16 19:32:20 -07:00
Konstantin Shcheglov
e9d8109258
DeCo. Support empty bodies in membered declarations
...
Allow enums, extensions, and mixins to use `;` as their body and
represent that form explicitly in the AST. The parser now produces
`EmptyEnumBody` or `EmptyClassBody` for the empty form.
Also replace `LibraryIdentifier` with token-based `DottedName` and store
the full token sequence for dotted names. This preserves periods and
source offsets directly in the AST, which keeps printing, selection, and
directive name handling working with the new shape. See
https://github.com/dart-lang/sdk/issues/62819
See https://github.com/dart-lang/language/issues/4645
Google3 presubmit looks green:
https://fusion2.corp.google.com/presubmit/884063020/OCL:884063020:BASE:884079610:1773618867493:b2110d76
Change-Id: I2d023cd03b6423da634c3e14742e02a61dc3b403
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/486080
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2026-03-16 08:56:11 -07:00
Konstantin Shcheglov
2e6153cdb6
Start analyzer 11.1.0-dev, analyzer_plugin 0.14.6-dev, analyzer_testing 0.2.3-dev, analysis_server_plugin 0.3.12-dev
...
Change-Id: Iddeffba7499ea1b1bcd607bf72ad9766a997ae74
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/484501
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-03-02 10:53:00 -08:00
Konstantin Shcheglov
e819fffbd1
Prepare to publish analyzer 11.0.0, _fe_analyzer_shared 97.0.0, analysis_server_plugin 0.3.11, analyzer_plugin 0.14.5, analyzer_testing 0.2.2
...
Change-Id: Ibfa9fa0db341a9335bf5983375e15212717b6b5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/484220
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2026-02-27 10:52:00 -08:00
Konstantin Shcheglov
19895724dd
Breaking changes for analyzer version 11.0.0
...
Change-Id: I75c4dca69a99c0129cc8ae6934d5925382228a00
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481542
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-02-24 14:36:29 -08:00
Konstantin Shcheglov
5cbe70416f
Start analyzer 10.3.0-dev, analyzer_plugin 0.14.5-dev, analyzer_testing 0.2.2-dev, analysis_server_plugin 0.3.11-dev
...
Change-Id: I5fecb1813aebf0be764f41f270ae26a0de4dcc17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482600
Reviewed-by: Paul Berry <paulberry@google.com >
2026-02-21 10:52:57 -08:00
Konstantin Shcheglov
777b6efcd9
Prepare to publish analyzer 10.2.0, _fe_analyzer_shared 96.0.0, analysis_server_plugin 0.3.10, analyzer_plugin 0.14.4, analyzer_testing 0.2.1
...
Change-Id: Id5f874b59e441c81910d979d9f50e4415674179d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482363
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2026-02-20 12:59:46 -08:00
Konstantin Shcheglov
d3d0ec9f66
Start analyzer 10.2.0-dev, analyzer_plugin 0.14.4-dev, analyzer_testing 0.2.1-dev, analysis_server_plugin 0.3.10-dev
...
Change-Id: I99ed03bc272bf6c243438b41b69c78dbf5511427
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481240
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-02-17 10:53:10 -08:00
Konstantin Shcheglov
fc41bfcf92
Prepare to publish analyzer 10.1.0, _fe_analyzer_shared 95.0.0, analysis_server_plugin 0.3.9, analyzer_plugin 0.14.3, analyzer_testing 0.2.0
...
Change-Id: Ibe306aceaf6967a978fbf7e8bad07c3475e8ca10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481060
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2026-02-17 09:20:42 -08:00
Konstantin Shcheglov
98c4f54c0f
Start analyzer 10.1.0-dev, analyzer_plugin 0.14.3-dev, analyzer_testing 0.1.11-dev, analysis_server_plugin 0.3.9-dev
...
Change-Id: I2ec7613ce0abcfa6e55f8c7837860319d9503adf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/477641
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2026-02-02 11:54:49 -08:00
Sam Rawlins
94a701bb0a
Bump analyzer to 10.0.2, analyzer_plugin to 0.14.2, analyzer_testing to 0.1.10, and analysis_server_plugin to 0.3.8
...
This release is so we can publish a version of analysis_server_plugin,
and then start depending on that published version in DAS.
In addition, we get a highly requested fix out to analyzer_testing
users.
Change-Id: I694f47aeee59367c1fc066bc8f7a865406b09917
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/476620
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2026-01-30 09:24:57 -08:00
Sam Rawlins
ca475a991d
Release meta 1.18.0
...
analyzer package now depends on new TargetKind values in meta, so we
must bump the dependency to prevent crashes.
Change-Id: Ia639b0cd67c0dc70ae03613b6b1bfd4ad552788c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/473421
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2026-01-15 11:41:02 -08:00
Sam Rawlins
9e13669268
DAS plugins: Bump to 0.3.6 with fix
...
Publishing in order to ship this fix:
https://dart-review.googlesource.com/c/sdk/+/471840
Change-Id: I7eea712fea9be3b2d26635170ca541fca4e59b6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471890
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2026-01-09 12:45:39 -08:00
Konstantin Shcheglov
ef20543995
Prepare to publish analyzer 10.0.0, _fe_analyzer_shared 93.0.0, analysis_server_plugin 0.3.5, analyzer_plugin 0.14.0, analyzer_testing 0.1.8
...
Change-Id: I22aaf17a81027ac44d5f23b114ece789d66eed93
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/471120
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2026-01-07 11:25:23 -08:00
Sam Rawlins
2fb8ef8417
bump deps to analyzer 10
...
Change-Id: I181a914a4086d868a3dbed7d817f8bc04a72e2b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462560
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2025-11-17 12:39:49 -08:00
Sam Rawlins
d4f2fec655
analyzer: Tidy and document LintCode.new and interpolated args
...
Deprecate the `hasPublishedDocs` parameter, as it is unused and
unnecessary. This triggers dev package versions.
Document how args are interpolated into problemMessage and correctionMessage.
A breaking change landed in analyzer_plugin, requiring a bump to
0.14.0.
Fixes https://github.com/dart-lang/sdk/issues/61921
Change-Id: I8e8f7e6af1c20ca9247cccd53e1fe2e5fc3cf083
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/461581
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-11-12 13:13:11 -08:00
Sam Rawlins
b08eab360c
DAS plugins: Fix parameter type of registerFixForRule
...
Fixes https://github.com/dart-lang/sdk/issues/61928
Change-Id: Ibdd63ebe9d70217e8699546d916826480bdfd3f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/460901
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-11-10 13:25:11 -08:00
Konstantin Shcheglov
ff30536788
Prepare to publish analyzer 9.0.0, _fe_analyzer_shared 92.0.0, analysis_server_plugin 0.3.4, analyzer_plugin 0.13.11, analyzer_testing 0.1.6
...
Change-Id: Id5681e1cd01493d65e733c7d2fc7ece78d7193cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/457162
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2025-10-23 13:48:19 -07:00
Konstantin Shcheglov
05bcfd2571
Breaking changes for analyzer version 9.0.0
...
Change-Id: I4d1b611edcf5340543b5cabf93b88a103408920b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444924
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-10-19 13:29:07 -07:00
Konstantin Shcheglov
cb88626a6c
Prepare to publish analyzer 8.4.0, _fe_analyzer_shared 91.0.0, analysis_server_plugin 0.3.3, analyzer_plugin 0.13.10, analyzer_testing 0.1.5
...
Change-Id: I941d0a4a1a56c741656ae94ea05dc86674c27867
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/454964
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-10-15 09:27:16 -07:00
Konstantin Shcheglov
5be8fcc1d5
Elements. Deprecate TypeAliasElement.aliasedElement
...
Change-Id: I6271efcc69fc891b41f605dd4f1398e5163b579d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/454662
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-10-13 13:42:00 -07:00
Paul Berry
533f833cf1
Reapply "[analyzer] Add experimental_member_use warning."
...
This reverts commit 3bdbceddc7 .
This change was originally landed as commit
3923958595 , however it had to be
reverted due to breaking the dart->flutter roll.
Change-Id: I6a6a6964176a276be1b9b01c74a4500488470219
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452528
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2025-10-13 12:23:32 -07:00
Konstantin Shcheglov
c743dc9990
Prepare to publish analyzer 8.3.0, _fe_analyzer_shared 90.0.0, analysis_server_plugin 0.3.2, analyzer_plugin 0.13.9, analyzer_testing 0.1.4
...
Change-Id: I8b91525430d2d3995d90ca2a5c9760a7522e70f7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/454423
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2025-10-10 13:31:40 -07:00
Konstantin Shcheglov
892ba9c158
Elements. Deprecate TypeDefiningElement and TypeDefiningFragment.
...
Change-Id: Ic418980c83146669678d5c6d61db05d84ba86652
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452903
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-10-02 12:29:30 -07:00
Paul Berry
3bdbceddc7
Revert "[analyzer] Add experimental_member_use warning."
...
This reverts commit 3923958595 .
Reason for revert: Broke dart->flutter roll https://github.com/flutter/flutter/pull/176234 due to customer testing
Original change's description:
> [analyzer] Add experimental_member_use warning.
>
> Adds the implementation of the `experimental_member_use` warning
> (whose diagnostic code was introduced in
> https://dart-review.googlesource.com/c/sdk/+/451341 ).
>
> There is very little implementation logic, since the bulk of the
> implementation is shared with the existing `deprecated_member_use`
> warning. Unit tests are adapted from the `deprecated_member_use` unit
> tests.
>
> Since the tests in `non_const_argument_for_const_parameter_test.dart`
> use the annotation `@mustBeConst`, which is marked `@experimental`,
> they had to be modified to expect the new warning.
>
> Change-Id: I6a6a69645bb072b29166b7617b480a890b2bb5aa
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450970
> Reviewed-by: Samuel Rawlins <srawlins@google.com >
> Commit-Queue: Paul Berry <paulberry@google.com >
Change-Id: I6a6a696447ed61b133e17ffc63ca6067fdbcc1ca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452526
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2025-09-30 14:01:32 -07:00
Sam Rawlins
efa1c497d6
DAS plugins: Fix "interesting files" glob
...
In testing, I saw that _added_ files were not being analyzed at all by
plugins. It turned out that `PluginManager.broadcastWatchEvent` uses
that glob to decide if watch events should be broadcast to a given
plugin isolate. It uses this Glob to determine that answer:
```dart
Glob(
_resourceProvider.pathContext.separator,
pattern,
).matches(filePath)
```
and using `'*.dart'` for that pattern, always answers "no, this file
does not match '*.dart'"; I believe `**.dart` is the correct glob
pattern we should use.
Change-Id: Id99d758151629c485884ba20e4d1f49f574f5889
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452160
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-09-29 12:48:31 -07:00
Paul Berry
3923958595
[analyzer] Add experimental_member_use warning.
...
Adds the implementation of the `experimental_member_use` warning
(whose diagnostic code was introduced in
https://dart-review.googlesource.com/c/sdk/+/451341 ).
There is very little implementation logic, since the bulk of the
implementation is shared with the existing `deprecated_member_use`
warning. Unit tests are adapted from the `deprecated_member_use` unit
tests.
Since the tests in `non_const_argument_for_const_parameter_test.dart`
use the annotation `@mustBeConst`, which is marked `@experimental`,
they had to be modified to expect the new warning.
Change-Id: I6a6a69645bb072b29166b7617b480a890b2bb5aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450970
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2025-09-29 06:04:17 -07:00
Sam Rawlins
9b12e8a81f
DAS plugins: bump analysis_server_plugin package to 0.3.1
...
This release is primarily to get better README content up at
https://pub.dev/packages/analysis_server_plugin
Change-Id: I2a2c0a380712bc2340a3ced07645b80f8d4d30b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450951
Auto-Submit: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-09-23 09:49:39 -07:00
Konstantin Shcheglov
5a98a975b7
Prepare to publish analyzer 8.2.0, _fe_analyzer_shared 89.0.0, analysis_server_plugin 0.3.0, analyzer_plugin 0.13.8, analyzer_testing 0.1.3
...
Change-Id: Id3e52c9b91f25a11b5b1d00a51a580f53db44033
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450744
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-09-19 13:25:42 -07:00
Sam Rawlins
26102c5d52
DAS plugins: Wire up initial screen for new plugins.
...
This renames the old screen, "Legacy plugins" and adds a new screen,
"Plugins". On the new plugins screen, we ask the plugins isolate(s) for
their plugins details, and print the following, for eadh plugin:
* the plugin's name
* the names of the registered lint rules
* the names of the registered warning rules
* the IDs and "messages" of the registered assists
* the IDs and "messages" and associated diagnostic codes of the
registered quick fixes
More to come in follow ups:
* The resolved versions of plugin packages (coming from package_config.json)
Change-Id: Ic3dc4c5bffa64fd4da4097c042a847cc064e41ce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447763
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2025-09-02 08:38:32 -07:00
Sam Rawlins
cbfc0784de
DAS plugins: Bump language version to 3.9
...
Change-Id: I880e53634c570cc25f4ff22dd01397b088b9bd07
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/447441
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2025-08-28 09:35:20 -07:00
Sam Rawlins
6f4b7e2922
analyzer: bump version constraints of dependant packages
...
Change-Id: I7fdc0a7b040f96a612434cb5b45995d365717022
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445104
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-08-13 13:59:30 -07:00
Konstantin Shcheglov
cb835a62e6
Prepare to publish analyzer 8.1.0 and _fe_analyzer_shared 87.0.0
...
Change-Id: I87cca5c8179b700425b42317bc9f62a826ef58fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444380
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2025-08-07 15:39:04 -07:00
Sam Rawlins
62caf711fa
Bump analyzer-related package version numbers
...
Change-Id: Id85cfd2b4c429777e4ccd1c405df39b0795025c1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443637
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2025-08-05 14:43:39 -07:00
Sam Rawlins
6d6fdc1a52
DAS plugins: bump analysis_server_plugin to 0.2.0
...
Change-Id: I0022c19ffbb30066087abc1005923ef558c9fdfb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/441081
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2025-07-21 07:52:49 -07:00
Sam Rawlins
a2218abe7c
analyzer: Document release policies
...
Change-Id: I98c1d9265f80fff8e3d23e895b0b6b2339bea11a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435261
Commit-Queue: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
2025-06-17 15:57:33 -07:00
Sam Rawlins
78c2181b3c
analysis_server_plugin: Check-in the current api.txt file
...
Change-Id: Ia88f755e6b92559ad15aa53ec612d92597fb0dc3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428928
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2025-05-19 12:24:39 -07:00