Content-Length: 276874 | pFad | https://github.com/flutter/flutter/issues/138951

A0 `--enable-experiment` warning if experiment doesn't exist · Issue #138951 · flutter/flutter · GitHub
Skip to content

--enable-experiment warning if experiment doesn't exist #138951

@FMorschel

Description

@FMorschel

Is there an existing issue for this?

Use case

I was testing --enable-experiment for the first time, and I got carried over to https://dart.dev/tools/experiment-flags. By a lack of attention on my part, I was trying to run my project with flutter run -v -d Windows --enable-experiment=inline-class,no-slow-checks.

Please note that the no-slow-checks part at the end is not a valid experiment.

Proposal

There could be a check when running with enable-experiment to see if the experiment exists or not. I was a bit confused because I only got the error when running with the option enabled, without it everything worked just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/138951

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy