Files
sdk/tests/language
Kallen Tu c0961ff71b [tests] Primary constructors - Mixin class, const constructor bodies tests
Tests the following:
- A compile-time error occurs if a class, mixin class, enum, or
extension type has a constant primary constructor which has a body part
that has a body.
- A compile-time error occurs if a mixin class declaration has a primary
constructor which is not trivial, that is, it declares one or more
parameters, or it has a body part that has an initializer list or
a body.

Spec changes:
https://github.com/dart-lang/language/commit/e2cbe29ca23431b9d76faba4b5ead520709689cd
https://github.com/dart-lang/language/commit/9d00e024647fea00993be9c111f52528f8510206

Bug: https://github.com/dart-lang/sdk/issues/61687
Change-Id: If19a96cc275d502b2bdaf3924c699b5a742a1557
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/492661
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2026-04-08 15:12:21 -07:00
..
2024-12-13 10:52:25 -08:00
2024-12-20 02:39:21 -08:00
2025-02-26 10:39:51 -08:00
2025-02-05 08:36:21 -08:00
2025-02-05 08:36:21 -08:00
2025-02-19 04:21:42 -08:00
2025-02-19 04:21:42 -08:00
2025-11-14 03:01:16 -08:00
2025-09-30 06:52:53 -07:00
2025-02-11 15:31:25 -08:00
2026-03-20 09:09:46 -07:00