-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
- Fix
upper_and_lower_bounds_A01_t01.dart
and `upper_and_lower_bounds_A03_t01.dart. These tests contain code, which is an error now
(int, {List<int> x}) b2 = (42, x: []);
- Add tests which expects an error for the code above (probably it should be Subtyping test)
- Be ready to update the tests according to the Can we promote through record fields? language#2503 and [Records] Should pointwise implicit downcasts be allowed in records? language#2488.
Metadata
Metadata
Assignees
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug