Closed
Description
My apologies if this issue already exists somewhere. If so, pls merge/close.
Would be great if we could use this as a meta issue to track what is still missing in order for us to have a complete feature specification for strong mode.
This will be useful for our teams implementing strong mode as well as for completing/expanding our co19 test suite.
@floitschG @leafpetersen @eernstg @lrhn @munificent
- New type rules and type system in the formal spec (e.g., sub-typing, ...) (eernst) informal spec by @leafpetersen underwayCapture "Ambiguities must be explicitly resolved" in a feature spec regarding sub-classing and class hierarchies (eernst) (informal spec underway)Feature specification of type inference #?????? (eernst)Optional new and const (including auto-const)
@eernstg edited the bullet list above to indicate that auto-const is now included rather than being discussed; the CL has been landed.
Note the following issues whose requests are subsumed by or at least overlapping the requests in this issue:
- Finalize and specify rules for local variable inference #27500 requests local inference specification.
- Specify strong mode "top level" inference #27499 requests global inference specification.
- Interface inheritance and override rules are unclear #16443 closely related to "Ambiguities must be explicitly resolved" (CL on that).
- Language specification: Support generalized void #30597 requests specification of generalized void; a related CL: void-to-void data flow.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
eernstg commentedon Oct 26, 2017
I wrote a CL for extending dartLangSpec.tex with support for generic functions. An obvious next step would be to update all the subtype rules (which includes deleting all references to '<<'/'more specific than').
Apart from that, the most recent additions to the 'informal' directory were created in order to clarify various Dart 2 features, so they would serve as a source of additional topics to handle.
[-]Finalize specification of strong mode[/-][+]Finalize feature specification of strong mode[/+]eernstg commentedon Jan 25, 2018
Work is ongoing: Said CL about generic functions has been landed as 673d5f0. Feature spec about Dart 2 subtyping written by @leafpetersen (addressing the 'New type rules and..' item) is in this CL.
eernstg commentedon Feb 6, 2018
Added milestone for reaching the level where feature specs have stabilized, but the formal spec may not yet have been updated.
eernstg commentedon Feb 9, 2018
Wrote a proposed feature spec in this CL for the 'Ambiguities must be explicitly resolved' item.
eernstg commentedon Feb 9, 2018
This CL addresses the 'Optional new and const' item, may probably land as-is.
Edit: Said CL was landed as 6e3a274.
12 remaining items