• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / linter / 4188
96%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2020 02:44PM UTC
Jobs 1
Files 197
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2020 02:41PM UTC coverage: 96.623% (+0.002%) from 96.621%
4188

push

travis-ci

web-flow
Fix false negatives for collection assignments (#2350)

* Fix false negatives for collection assignments

Previously the lint would allow passing a `LinkedHashSet` instantiation
if the static type wasn't `Set`, and similarly for `LinkedHashMap`. This
allowed cases where the literal would also work when passed or assigned
to something requiring any supertype like `Object`, `dynamic`, or
`Iterable`.

Invert the condition used for the `typeCheck` callback and add checks
looking specifically for the `LinkedHash` variants of the static type.
Add tests demonstrating the new places the lint will trigger.

* Add changelog

6295 of 6515 relevant lines covered (96.62%)

1.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4188.1 (LINTER_BOT=main) 30 Nov 2020 02:44PM UTC 0
96.62
Travis Job 4188.1
Source Files on build 4188
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4188
  • 913493a8 on github
  • Prev Build on master (#4187)
  • Next Build on master (#4191)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc