2198d25b1e
The test tries to keep fields alive by my making a toString() => field1 + field2 + ... Though some field values don't have a `+` operator (e.g. instances of `class C`). Improving TFA precision can infer that some of these `+` operations will throw, which then makes other `+` operations unreachable, which removes usages of those other fields, which will tree shake those other fields, which will make the test not test anymore what it's intended to. => Make the test more robust by using string concatenation instead. Change-Id: I80788af516083ea3d78ad910eb394e4b7e122384 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/507000 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>