Skip to content

Finalize feature specification of strong mode #31228

Closed
@anders-sandholm

Description

@anders-sandholm

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 underway
    Capture "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:

Activity

eernstg

eernstg commented on Oct 26, 2017

@eernstg
Member

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.

changed the title [-]Finalize specification of strong mode[/-] [+]Finalize feature specification of strong mode[/+] on Nov 29, 2017
eernstg

eernstg commented on Jan 25, 2018

@eernstg
Member

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.

added this to the 2.0-alpha2 milestone on Feb 6, 2018
eernstg

eernstg commented on Feb 6, 2018

@eernstg
Member

Added milestone for reaching the level where feature specs have stabilized, but the formal spec may not yet have been updated.

eernstg

eernstg commented on Feb 9, 2018

@eernstg
Member

Wrote a proposed feature spec in this CL for the 'Ambiguities must be explicitly resolved' item.

eernstg

eernstg commented on Feb 9, 2018

@eernstg
Member

This CL addresses the 'Optional new and const' item, may probably land as-is.

Edit: Said CL was landed as 6e3a274.

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).area-specification (deprecated)Deprecated: use area-language and a language- label.language-strong-mode-polish

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @dgrove@anders-sandholm@leafpetersen@a-siva@eernstg

      Issue actions

        Finalize feature specification of strong mode · Issue #31228 · dart-lang/sdk