}What happens if `fullTypeAnnotation` is `null`? It seems like in that case we wouldn't report any diagnostic, which seems like an unintentional change in behavior.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
What happens if `fullTypeAnnotation` is `null`? It seems like in that case we wouldn't report any diagnostic, which seems like an unintentional change in behavior.
In extension types you can get `Never` only if you write it explicitly, as simple or default formal parameter. In these cases `fullTypeAnnotation` cannot be `null`. Maybe it would be easier if I wrote this explicitly in the code instead of adding a new getter. At least until we get two more use cases :-P
Let me try to do this...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Konstantin ShcheglovWhat happens if `fullTypeAnnotation` is `null`? It seems like in that case we wouldn't report any diagnostic, which seems like an unintentional change in behavior.
In extension types you can get `Never` only if you write it explicitly, as simple or default formal parameter. In these cases `fullTypeAnnotation` cannot be `null`. Maybe it would be easier if I wrote this explicitly in the code instead of adding a new getter. At least until we get two more use cases :-P
Let me try to do this...
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
It looks like the commit message needs to be rewritten; it still refers to `fullTypeAnnotation`.
Lgtm assuming the commit message is rewritten.
Konstantin ShcheglovWhat happens if `fullTypeAnnotation` is `null`? It seems like in that case we wouldn't report any diagnostic, which seems like an unintentional change in behavior.
Konstantin ShcheglovIn extension types you can get `Never` only if you write it explicitly, as simple or default formal parameter. In these cases `fullTypeAnnotation` cannot be `null`. Maybe it would be easier if I wrote this explicitly in the code instead of adding a new getter. At least until we get two more use cases :-P
Let me try to do this...
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
DeCo. Use more general FormalParameterImpl.fullTypeAnnotation
Replace `ExtensionTypeDeclarationImpl.fieldType` with more general
`representationFormalParameter`.
Use `representationFormalParameter` when reporting
EXTENSION_TYPE_REPRESENTATION_TYPE_BOTTOM.
In the extension type linker, rely on `element.representation.type` for
dependency analysis and evaluation.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |