Skip to content

Flags such as releaseMode and determineDevDependencies should be required #163770

@matanlurey

Description

@matanlurey

There is a class of bug I'm hitting where calls to methods with optional parameters are (understandably) omitting the parameters, and as a side-effect running in an unexpected state (such as not looking up dev dependencies in a release build, or switching back and forth between debug and release style lookups in a single build).

I should just make the arguments required so that all call sites are explicit (including new ones in the future).

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.team-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions