Files
sdk/pkg/analysis_server/lib
Danny Tuppeny f12f19b59e [analysis_server] Exclude some potential side effects from Inline Values
When the property experiment is enabled, we may evaluate getters in inline values. For some types, the chance of these having side effects are much higher (for example accessing `length`, `last`, `first` on `Iterable`s or `Stream`s.

This suppresses inline values on these types (both the variables themselves to avoid any `toString()`s, and any getters).

Fixes https://github.com/dart-lang/sdk/issues/60402

Change-Id: Ie9b524a679df5e39856ecd900d94f2fb41b779bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/420703
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2025-04-07 10:38:20 -07:00
..