d412939c3b
This replaces the [Library] parameter from bounds checks and type inference methods with a `isNonNullableByDefault` parameter, enabling usage of these algorithms in library-agnostic code, like features only available post-nnbd. Change-Id: Id565d00e1c20d25e7e3388badbb2d7f11c015802 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284642 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>