Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document rationale for Dart VM flag prefix match (#30195)
Dart VM flags are passed to Flutter via an fml::CommandLine::Option that looks something like: {"dart-flags, "--max_profile_depth 1,--trace_service"} We perform a prefix match to handle cases where Dart VM options take arguments. Adding the comment since in a recent review I found myself wondering why we're using a prefix match to begin with. While the original author had forgotten, the good news is, he wrote a test that covers this exact case. This comment just removes one level of indirection for future readers.
- Loading branch information