Open tgeng opened 2 weeks ago
If you disable this check (with -Xep:UnsafeWildcard:OFF
or @SuppressWarnings("UnsafeWildcard")
), does the compilation succeed, or does a different error get reported?
Thanks for the quick reply! Actually it looks like the failure is flaky. It only happened once in our CI and the same Bazel target was able to build later. I also tried checking out the same commit locally and build it and that worked too.
Interesting, thanks for following up! I'm going to close this out, but please let us know if you see it again or it starts reproducing consistently.
With Bazel 7.3.1 I am seeing build failing with the following error. I can't paste the source code here since that's confidential. But the line being reported is inside an enum declaration with dozens of enum value declarations. Specifically, line 219 is one enun declaration with some values from some method calls passed into the constructor. Please let me know if you need more details.