Files
sdk/pkg/kernel/lib
Johnni Winther 5d37961bee [cfe][PrimaryConstructors] Mark cyclic constructors as erroneous
This marks constructors whose parameter types have cyclic depencies as erroneous and uses this to avoid type checking invocations. This allows for using the FieldFragmentMixinDeclaration implementation of buildFieldInitializer, which avoid building field initializers twice.

This is done in preparation for support new field initializer scopes for primary constructors.

Change-Id: I302ca6fe2f4de5be0c8b8df1b13570b390c4aa2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/474720
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2026-01-22 00:50:32 -08:00
..
2024-11-14 07:32:21 +00:00
2025-02-11 13:59:46 -08:00