You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dart-migrate-to-checks-package: negative example has an unmatched quote (triggerSync") #46
In skills/dart-migrate-to-checks-package/SKILL.md, the "NO" example under the synchronous .throws<E>() section is meant to show that passing a callback to a synchronous throws is a compile error. But the snippet is already malformed for an unrelated reason: triggerSync" has a stray double quote, so the line fails to parse before it can demonstrate the callback-type error the prose describes.
// NO (Passing a callback to sync throws will cause a compiler error!)check(() => triggerSync").throws<ArgumentError>((it) => ...); // ERROR!
Suggested fix: use the same identifier as the valid example directly above it, so the only thing wrong with the line is the thing the example is about:
Found while reviewing the skills vendored into a project via npx skills add dart-lang/skills --skill '*' --agent universal (skill hash 00b7fa02… in skills-lock.json).
Activity
Tarika-S commentedon Sep 30, 2026
Hi! I'd like to work on this issue as my next open-source contribution. Could you please confirm that I can take it up?