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

dart-lang / linter / 4188 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2020 02:44PM UTC
Files 197
Run time 33s
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%
LINTER_BOT=main

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

Source Files on job 4188.1 (LINTER_BOT=main)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2706
  • Travis Job 4188.1
  • 913493a8 on github
  • Prev Job for LINTER_BOT=main on master (#4187.1)
  • Next Job for LINTER_BOT=main on master (#4191.1)
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