Files
sdk/tools
Lasse R.H. Nielsen 225b8d3f58 Make expression-detection in doc verifier more discriminating.
The existing behavior treated `var x = e; // comment` as an expression,
and failed spectacularly to insert it after a `return`.
The new behavior detects a `;` anywhere in the single line, not just
at the end, as a sign that a single line is probably not an expression.

Change-Id: Ice5abc8dc802db36511dc3cdcca162dc0e8a8f13
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229155
Auto-Submit: Lasse Nielsen <lrn@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Lasse Nielsen <lrn@google.com>
2022-01-24 11:12:18 +00:00
..
2022-01-20 00:57:57 +00:00
2022-01-20 00:57:57 +00:00
2021-04-15 10:10:20 +00:00
2022-01-20 00:57:57 +00:00
2022-01-10 11:05:10 +00:00
2022-01-13 09:18:34 +00:00