Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Collection literal error regression when using experiments #36201
When running with the experiment
You will get a set containing
There is a test for this but I don't think the code path is being exercised without the experiment flags.
I believe that this should be fixed by https://dart-review.googlesource.com/c/sdk/+/96985. It will likely produce a different error message than before, but I don't think that matters.
If that does not solve the problem you're seeing, please re-open the issue.