Breaking Change#50902[]: Report a compile-time error for a continue statement
having an invalid target.
As per 18.15 of the language spec, it is a compile-time error for a continue
label to have a target which is not a loop (for, do and while statements)
or a switch member.
Breakage is mitigated by changing the code to have the continue label properly
target a valid labeled statement.
Removed the deprecated List constructor, as it wasn't null safe.
Use list literals (e.g. [] for an empty list or <int>[] for an empty
typed list) or [List.filled][].
Removed the deprecated onError argument on [int.parse][], [double.parse][],
and [num.parse][]. Use the [tryParse][] method instead.
Removed the deprecated [proxy][] and [Provisional][] annotations.
The original proxy annotation has no effect in Dart 2,
and the Provisional type and [provisional][] constant
were only used internally during the Dart 2.0 development process.
Removed the deprecated [Deprecated.expires][] getter.
Use [Deprecated.message][] instead.
Removed the deprecated [CastError][] error.
Use [TypeError][] instead.
Removed the deprecated [FallThroughError][] error. The kind of
fall-through previously throwing this error was made a compile-time
error in Dart 2.0.
Removed the deprecated [NullThrownError][] error. This error is never
thrown from null safe code.
Removed the deprecated [AbstractClassInstantiationError][] error. It was made
a compile-time error to call the constructor of an abstract class in Dart 2.0.
Removed the deprecated [CyclicInitializationError]. Cyclic dependencies are
no longer detected at runtime in null safe code. Such code will fail in other
ways instead, possibly with a StackOverflowError.
Removed the deprecated [NoSuchMethodError][] default constructor.
Use the [NoSuchMethodError.withInvocation][] named constructor instead.
Removed the deprecated [BidirectionalIterator][] class.
Existing bidirectional iterators can still work, they just don't have
a shared supertype locking them to a specific name for moving backwards.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps analyzer, very_good_analysis and dart_code_metrics. These dependencies needed to be updated together. Updates
analyzer
from 2.8.0 to 5.4.0Changelog
Sourced from analyzer's changelog.
... (truncated)
Commits
Updates
very_good_analysis
from 2.4.0 to 4.0.0+1Release notes
Sourced from very_good_analysis's releases.
Changelog
Sourced from very_good_analysis's changelog.
... (truncated)
Commits
c0c5bb2
feat!: v4.0.0 (#67)c981138
chore(deps): bump actions/checkout from 3.1.0 to 3.2.0 (#62)efa67e7
docs: improve latest analysis_options link (#60)968e6b7
chore(deps): bump actions/checkout from 2.3.4 to 3.1.0 (#59)8bb2a2f
feat: add dependabot (#58)baf0da6
docs: update README to use v3.1.0 (#57)3f0eb08
feat: v3.1.0 (#51)2c7df5c
chore: v3.0.2 (#55)8da5534
chore: update CODEOWNERS (#56)7fe0db5
ci: use very_good_workflows for pana (#54)Updates
dart_code_metrics
from 4.8.0 to 5.5.1Release notes
Sourced from dart_code_metrics's releases.
... (truncated)
Changelog
Sourced from dart_code_metrics's changelog.
... (truncated)
Commits
ea555fe
build: update versiond20764e
feat: support context.mounted for use-setstate-synchronously (#1164)ae2674f
fix: export missing parts of public API (#1161)e1054ea
docs(readme): update links to new docs base url path (#1160)63cddd8
build: update version7a40cb3
fix: correctly handle empty comment sentence for format-comment (#1159)ab95f02
feat: support type=lint suppression (#1156)4affa64
Merge branch 'master' of https://github.com/dart-code-checker/dart-code-metrics7ce686f
fix: partially handle normal completion function body for avoid-redundant-asy...2984e3b
docs: rename to DCM and update website links (#1155)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)