Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Suppress warning from FE when VM+FE is used to execute code #31552
I agree that flag is nice to have. We've previously had problems building compilers on top of the VM when it emits warnings that can't be suppressed. For example, if the VM emits a warning when running dart2js, a user of dart2js may think that the warning is about their code.
Would it be enough to have a Dart environment variable (
Plumbing a flag from the VM to the FE isolate seems more complicated, and we might want to delegate that to the VM team if it's what we actually need.