Konstantin Shcheglov
3409224923
CQ. Use actual diagnostics in analyzer_cli OptionsTest.
...
Change-Id: I94c2f1b77ad948a6ac612626c7264b6d1cfa901c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/499664
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2026-05-01 08:18:53 -07:00
Konstantin Shcheglov
3d4a39e9c2
Revert "Revert two CLs that remove WithoutNullSafetyMixin usages."
...
This reverts commit 1719ef36c4 .
See https://github.com/flutter/flutter/issues/141576 for why it was
reverted.
Change-Id: I3a0a6ddf1b23cda008ae1d3a052c6daa05c10729
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/348185
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2024-01-26 15:37:18 +00:00
Konstantin Shcheglov
1719ef36c4
Revert two CLs that remove WithoutNullSafetyMixin usages.
...
There is code in Flutter that verifies the analyzer with language
verison `2.7`, and breaks if we remove legacy support.
I opened https://github.com/flutter/flutter/issues/141743
Bug: https://github.com/flutter/flutter/issues/141576
Change-Id: I9ec47c2126149ead49cdead82f49fd9eb80a75ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346948
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
2024-01-18 03:22:17 +00:00
Konstantin Shcheglov
e871af629a
Legacy. Remove uses of WithoutNullSafetyMixin, part 4.
...
Change-Id: I78429ada7a65f4efa07675408a0075ae5fa3d408
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346182
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2024-01-14 23:30:59 +00:00
Brian Wilkerson
a10f6aac38
Finish cleaning up the copyright notices in the analyzer_cli package
...
Change-Id: I4de3c9e17b4e569c32470ffd1c2061749d3184ed
Reviewed-on: https://dart-review.googlesource.com/c/88439
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-01-06 19:16:31 +00:00
Jacob Richman
a993294503
Format all analyzer packages
...
BUG=
R=brianwilkerson@google.com
Review-Url: https://codereview.chromium.org/2753923003 .
2017-03-16 16:11:43 -07:00
Devon Carew
46cacfeae9
Some improvements to the command-line analyzer's output.
...
BUG=
R=brianwilkerson@google.com , danrubel@google.com
Review-Url: https://codereview.chromium.org/2704103002 .
2017-02-22 12:35:09 -08:00
Brian Wilkerson
44836f8538
Support the name analysis_options.yaml for analysis options files
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org/1975963002 .
2016-05-13 07:33:06 -07:00
pq
7913968725
Fix CLI SDK option config timing ( #26129 ).
...
Fixes: https://github.com/dart-lang/sdk/issues/26129
The issue was that we were creating the SDK and populating its options (notably `strong-mode`) *before* options processors were called. The result was that client code analysis contexts and SDK contexts were getting configured differently causing confusion when client code was getting analyzed with a non-strong-mode SDK.
BUG=
R=paulberry@google.com
Review URL: https://codereview.chromium.org/1962403002 .
2016-05-10 13:35:40 -07:00
pq
8887cd69f0
Fix analyzer_cli error overrides ( #24452 ).
...
Brings `analyzer_cli` inline with server wrt processing errors configured in `.analysis_options`.
Note some added complexity due to interactions with flags that globally escalate warnings/hints to errors.
https://github.com/dart-lang/sdk/issues/24452
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/1529243002 .
2015-12-16 12:44:38 -08:00
pq
9ae1265ff5
analyzer_cli move to SDK.
...
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
Note, dartium build changes are in a separate CL: https://codereview.chromium.org/1453413006/
Some tests had to be disabled for want of mockito in the SDK; tracking their reimplementation is here: https://github.com/dart-lang/sdk/issues/24994
BUG=24731
R=whesse@google.com
Review URL: https://codereview.chromium.org/1459683003 .
2015-11-19 14:52:54 -08:00
pq
5cc9a288bb
Revert "Move analyzer_cli into the SDK."
...
This reverts commit a573ed31f1 .
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/1462143002 .
2015-11-19 11:28:52 -08:00
pq
a573ed31f1
Move analyzer_cli into the SDK.
...
Build changes to follow.
Tracking bug: https://github.com/dart-lang/sdk/issues/24731
BUG=24731
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/1464553003 .
2015-11-19 11:11:17 -08:00