| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
defaultType: nullThis is expected because `T` is a synthetic element and won't be used from outside as a value instead of an omitted type argument. We filter out the synthetic type parameters from `InstanceElement.typeParameters`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
test_enum_typeParameters_defaultType() async {
var library = await buildLibrary(r'''
enum A<T extends B> {
v
}
class B {}
augment enum A<T extends B> {}
''');
Do we test this elsewhere?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
test_enum_typeParameters_defaultType() async {
var library = await buildLibrary(r'''
enum A<T extends B> {
v
}
class B {}
augment enum A<T extends B> {}
''');
Do we test this elsewhere?
No, we replaced this test with `test_enum_typeParameters_augmentation_chain_bounds_int_string` which demonstrates an erroneous scenario, but we should probably add an `int_int` version as well, that demonstrates correct behavior.
The current form of this test isn't ideal because it introduces an unnecessary class `B`. Despite the name claiming it checks default type, it doesn't actually print it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Ensure that default type of type parameters is not modified by augmentations.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |