Files
sdk/tests/language/const
Johnni Winther 4cfd3da965 [cfe][PrimaryConstructors] Update reporting for mixin class with initializer/constructor body
This update the position used for reporting a mixin class primary constructor with a primary constructor by declaration with initializers or an explicit body. Since mixin classes can have simple constructors, it makes more sense to report the error on the offending syntax than on the primary constructor itself.

The CL also updates the offset used for field initializers to the field name rather than the `=`. This align the offset with what is used for property sets.

Change-Id: Id5ccd55536b2c3b9d9336d2854772c1bcc5a175a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/490800
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2026-04-01 01:17:28 -07:00
..
2025-04-08 03:49:31 -07:00
2025-04-08 03:49:31 -07:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00
2024-12-12 15:50:08 -08:00