Commit graph

374 commits

Author SHA1 Message Date
Vijay Menon
2577befbd9 Update breaking change process to account for language versioning
Change-Id: Ib349ff508c881a4ea2e77a1991ef13fdc1f68d45
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248350
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
2022-06-14 17:45:37 +00:00
Michael Thomsen
6478f3b8e0 Remove old language docs moved to /language repo
PR to add them to the language repo:
https://github.com/dart-lang/language/pull/2294

Bug: NONE
Change-Id: I28eb1b66ae46288bd9b1c02c69043192fe8cae69
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248160
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
2022-06-14 04:10:17 +00:00
Kevin Chisholm
20b2a6bd52 update breaking change policy
Closes https://github.com/dart-lang/sdk/pull/48463

GitOrigin-RevId: c711f1456983b39f2b76ab1724e7373da45490ed
Change-Id: I1208cb437cd41939ab4d3c2842bb681cb1be3f33
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/234104
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2022-02-24 09:17:23 +00:00
Alexander Thomas
30beab0f43 [infra] Add OWNERS to the Dart SDK
* Add team "groups" in tools/OWNERS_<group name>.
* Add top-level OWNERS as a fallback.
* Add OWNERS for all top-level directories.
* Add OWNERS to all packages.

For additional background information see go/dart-sdk-owners.

TEST=No op until code-owners is enabled.
Bug: b/200915407
Change-Id: I7fe6116cc599c749cd50ca16151d6d6a801d99d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229147
Reviewed-by: Jonas Termansen <sortie@google.com>
2022-02-14 14:06:34 +00:00
Devon Carew
a88c010f2c Update docs/process/breaking-changes.md.
Change-Id: I9f0313b0cc088fac982f058adbdb423f5fd93659
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219745
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2021-11-09 16:53:12 +00:00
Brian Quinlan
b335f28f5a Create a hyperlink to the Dart SDK issue tracker
Closes https://github.com/dart-lang/sdk/pull/47596
https://github.com/dart-lang/sdk/pull/47596

GitOrigin-RevId: f6b20123c964f6a3a329089c0f07db09526991f1
Change-Id: If9e25ddd1303b4b62e58c1b2d7de26cd9bde9ce2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218882
Reviewed-by: Michael Thomsen <mit@google.com>
2021-11-02 09:54:51 +00:00
Ahmed Ashour
d041cf0478 Remove extra the, be and of
Fixes #https://github.com/dart-lang/sdk/issues/47504

TEST=No tests needed, only comments affected.

Change-Id: Ie096307b5ce314d328fea6780f396aaa226ad3b0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216182
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2021-10-20 09:29:01 +00:00
Ahmed Ashour
d6975c1905 master branch to main
Fixes #47190

TEST=None, only markdown files where edited.

Change-Id: Ife204f9c792b6bce30d0cd7bf2260ced11c8f2b4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213049
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2021-09-15 06:22:23 +00:00
Devon Carew
4a219ea74f update the breaking change policy
Change-Id: I5cfd5156bfca7324de65aeb6806e2436ecc54af0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212027
Reviewed-by: Michael Thomsen <mit@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2021-09-01 15:55:23 +00:00
Paul Berry
06fc3fa21c Minor fixes to breaking change process
- Fix the link to the Dart SDK changelog so that it correctly refers
  to the file `CHANGELOG.md` in the root directory of the repo.

- Fix the text that must prefix a breaking change to `**Breaking
  Change**` (which is what we have been doing fairly consistently in
  the changelog for over a year).

Change-Id: If1226bf51be5f40c057694f4ee2e2c7a479b069e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/179583
Reviewed-by: Franklin Yow <frankyow@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-01-15 21:44:22 +00:00
Michael Thomsen
e7f1c03b73 Elaborate on what is included
Change-Id: Ie3a2214d37d6bbe645b5e86749dd80448624eda0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/178997
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2021-01-14 12:16:09 +00:00
Michael Thomsen
716a43e27a Fix link to flags
Closes https://github.com/dart-lang/sdk/pull/44445
https://github.com/dart-lang/sdk/pull/44445

GitOrigin-RevId: 980bf9dfb30c14e287e7cd0918496f9dbc47c7df
Change-Id: I7410a19af91a947553a58084c3babda98474427e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175701
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2021-01-14 12:02:43 +00:00
cv692001
ec51b7a866 Corrected the format for VM experiment flag
Done the changes as explained and completed the assigned task  by Correcting the format for VM experiment flag

 #41676

Closes https://github.com/dart-lang/sdk/pull/43874
https://github.com/dart-lang/sdk/pull/43874

GitOrigin-RevId: 8bc9d44a22b028d2790b5e8001cd44f45dff1a9d
Change-Id: I8154257f750815d8f8c9760457b51be449e10b45
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168700
Reviewed-by: Michael Thomsen <mit@google.com>
2020-10-21 16:09:38 +00:00
Kevin Moore
d0a6192554 process docs: Add link to experimental flags yaml file
Change-Id: Ia2aa4a1e8a3f763356f307bffab69d0cb561aaf4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149520
Reviewed-by: Leaf Petersen <leafp@google.com>
2020-05-30 02:28:22 +00:00
Kevin Moore
26c1dec7ae Fix a number of outdated URLs across a number of markdown files
http -> https where appropriate
dartlang.org -> dart.dev
...and others

Change-Id: I996afdd63d0c743cbabf7d29ade9e36cc3536fe8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149340
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
2020-05-29 09:23:45 +00:00
Robert Nystrom
0def426463 Add doc explaining how language versioning and experiments work.
Change-Id: I9c30bcda07321065ae215c2d3ee5029ed66e587e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138680
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2020-03-10 20:32:31 +00:00
Michael Thomsen
590144a601 Update platforms diagram
Closes https://github.com/dart-lang/sdk/pull/40723
https://github.com/dart-lang/sdk/pull/40723

GitOrigin-RevId: 51043911e2fe546c175cad8de407819135b906db
Change-Id: I0cf6d52ea09c5356855357f4759621e4333595e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/136727
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2020-02-21 12:45:19 +00:00
Erik Ernst
9e1bbc1203 Ensuring that every feature spec in SDK is marked as background material
A couple of feature specs did not explicitly say that they are now
background material and normative language should be found in specific
other places. This CL does that. It also makes the README.md even more
explicit in order to make the same point.

Change-Id: I79cbd86a662faf478ce41c01e09c5f32a3f03cd3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134824
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2020-02-10 11:31:44 +00:00
Franklin Yow
ca64509108 Update breaking-changes.md
Update contact e-mail address

Closes #39789
https://github.com/dart-lang/sdk/pull/39789

GitOrigin-RevId: fcbc1450074ccec83a48c5fc19102f07ac3cdd39
Change-Id: I755ba0073767f29ee6da4fcfcdd2f95c29ad94aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130380
Reviewed-by: Michael Thomsen <mit@google.com>
2020-01-06 13:14:45 +00:00
Erik Ernst
642f8d052f Remove dartLangSpec.tex; current version is in language repo
Change-Id: Ic2838a26fbba85b14afc8a0131386fe83195c176
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128881
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2019-12-19 08:57:10 +00:00
Erik Ernst
e830338919 Updated spec_parser such that it runs with ANTLR v4
Change-Id: Ib0711ebc125f4fadb5a526c3538d5c3a35f11234
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97320
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-03-19 14:06:26 +00:00
Michael Thomsen
1af9d3e14b Update breaking-changes.md
Closes #36172
https://github.com/dart-lang/sdk/pull/36172

GitOrigin-RevId: 9cdf8c273fd887c82ccc61ff963e31343ad2780a
Change-Id: I200beb7667fad38abcf5b5e25ebbdfbd41c61d5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96920
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
2019-03-14 12:35:56 +00:00
Aadil Maan
0bf8a1e591
Update breaking-changes.md
Taking over responsibilities from mit@ to drive breaking-changes-request through the approval review process.
2019-03-13 13:05:54 -07:00
Erik Ernst
2eb3ac7c02 Specify implicit creation
This CL is using an approach that does not rely on program
transformations (based on the idea in CL 50221 from Lasse).

I have taken the approach to make `constant list literal`, `constant
object expression` the higher level concepts, and define the notion of
a `constant context` in terms of the syntax (so it requires an actual
`\CONST{}` or a switch case in the enclosing syntax).

Doing this work, I encountered the section about postfix expressions,
and (like several times before), I noted that there was no
specification of the static analysis at all. So I cleaned up that
section, at the time where I needed to edit it already, because of
the new `constructorInvocation` syntax.

If that is helpful, I could split this CL into a pure "implicit
creation" CL and another "fix up postfix expressions" CL.

Change-Id: I669ce942f698ca2fbb47ea60c58f4f05304ae66d
Reviewed-on: https://dart-review.googlesource.com/c/93432
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-02-26 12:22:56 +00:00
Lasse R.H. Nielsen
89347169c7 Incorporate mixin declarations in language specification.
Change-Id: I41e8f558fd4c3145637a7d2f09cc261815ab2161
Reviewed-on: https://dart-review.googlesource.com/c/84605
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2019-01-25 09:30:51 +00:00
Erik Ernst
33ae5f0a47 Performed copyedits proposed by Patrice Chalin
.. in https://codereview.chromium.org/1217533003. Several of them were
not applicable because the text is very different today, and many were
already performed. This CL performs the missing ones.

Cf. https://github.com/dart-lang/sdk/issues/23781.

Change-Id: If356c887188368ec26755d99aa7d97fa8ea56b8c
Reviewed-on: https://dart-review.googlesource.com/c/90223
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-24 12:42:13 +00:00
Erik Ernst
fed59a7a8f Whitespace and formatting cleanup
This CL just changes whitespace and formatting.

In particular, it replaces \syntax{`...'} by \lit{...} as much as
possible (because it's simpler and shorter, and \lit{...} works in
some situations where \syntax{...} does not).

Change-Id: Icd241a8c9d04280ff57041450aa342eb56d34589
Reviewed-on: https://dart-review.googlesource.com/c/90742
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-23 17:38:25 +00:00
Erik Ernst
a12805b90f Gathered all spec snippets about operator == into one location
This was needed because we had a handful of long sentences, nearly
identical, specifying that operator == must not be overridden, except
if it's in a specific built-in class.

These locations have been adjusted several times because it's tricky,
and now we have this in just one location (so we won't forget to
include bool again, somewhere).

Note that this shows a couple of facts (this was already a consequence
of the wording in the language specification, but now it's explicit):
We can `switch` on constant lists, sets, maps, and function objects,
and similarly for element expressions in constant lists and sets, and
for keys in constant maps.

Bug: https://github.com/dart-lang/language/issues/188.
Change-Id: Ie54bce573ee577654b598926b711d6dc8eab6ff1
Reviewed-on: https://dart-review.googlesource.com/c/90462
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-23 13:03:36 +00:00
Erik Ernst
649c4e6c85 Revised all spec occurrences of "dynamic error"/"dynamic type error"
.. and checked that they can occur also in Dart 2; added a comment
about why this is so, on each of them. Also, got rid of the term
"run-time error": the majority of references to errors at run time
were "dynamic error", and now that is the term used everywhere.

Cf. https://github.com/dart-lang/sdk/issues/34521.

Change-Id: I7579c84a8d52199524770fb91c64804173ed533d
Reviewed-on: https://dart-review.googlesource.com/c/90243
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-21 12:56:31 +00:00
Erik Ernst
da6938a5b2 After some more git cl uploads, this fixes a bunch of
little problems in the spec that we have noted over time.

Fixed a couple of LaTeX mistakes; adjusted FutureOr section

The 'Type FutureOr' section was adjusted in order to avoid duplicate
subtype rules (the ones that we have had in section 'Type FutureOr'
until now are duplicates of rules in \ref{subtypeRules}).
Also changed the name of \basetype to \futureOrBase, because the former
is too generic to be helpful for readers.

Change-Id: I8d83cf1a0af275a930fbbb94cf59a9d758066583
Reviewed-on: https://dart-review.googlesource.com/c/90061
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-18 11:04:12 +00:00
Erik Ernst
d51a847891 Integrating generic-function-instantiation.md into dartLangSpec.tex
Change-Id: I3afa22ce86bb7e3e9a24bc995aca8610e70193de
Reviewed-on: https://dart-review.googlesource.com/c/87184
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-17 14:59:18 +00:00
Michael Thomsen
37e06d34b2 Create breaking-changes.md
Closes #35403
https://github.com/dart-lang/sdk/pull/35403

GitOrigin-RevId: cbf8ab36ee9e5c955405f6a7b716f4030c87a6ef
Change-Id: I024bd034ab34c92535489b97d66e8680c168f430
Reviewed-on: https://dart-review.googlesource.com/c/87168
Commit-Queue: Michael Thomsen <mit@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2019-01-17 11:56:15 +00:00
Erik Ernst
02bb4379a2 Added specification of new style function types, generalized typedefs
Change-Id: I02b86e91d0457f4f50293c8d2f609c1d9ad91246
Reviewed-on: https://dart-review.googlesource.com/c/81414
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2019-01-11 13:54:07 +00:00
Erik Ernst
f4986cc78d Fixed a couple of typos, including LaTeX error
Change-Id: I5a50f7d27dfa9642af7249ae368f7e94c960ddd0
Reviewed-on: https://dart-review.googlesource.com/c/88829
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
2019-01-09 13:19:43 +00:00
Lasse R.H. Nielsen
68f77faa96 Specify that extending or implementing Function does nothing.
Change-Id: I0008f74c75da28fbf38a959e2925b72dd1dfd38f
Reviewed-on: https://dart-review.googlesource.com/c/88563
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2019-01-09 12:19:26 +00:00
Erik Ernst
cba23af8ce Adjusted spec to make it an error to have a method - getter/setter clash
Currently, this kind of clash is an error when there is a declaration
at which the conflict is known to be an error, but it was not an error
when it occurs because a class `implements` two other classes where one
provides the getter/setter and the other provides the method.

Note to implementors: The analyzer apparently already flags this
situation as an error, so the change should be non-breaking, and if
implementation changes are needed at all it would most likely only be
in other tools.

Bug: https://github.com/dart-lang/sdk/issues/35561
Change-Id: I7f55b8995829ad64b86ebf33045b235813fc5161
Reviewed-on: https://dart-review.googlesource.com/c/88455
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-01-08 08:46:36 +00:00
Paul Berry
5ed1c6132a Minor grammar and consistency fixes
Change-Id: I7123d1b11efe4275467617fb8602eb9d9d52956f
Reviewed-on: https://dart-review.googlesource.com/c/88290
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2019-01-04 13:22:43 +00:00
Lasse R.H. Nielsen
c565d4e477 Make the specification not mention LinkedHashSet.
It has implementation consequences to refer to classes that are not
declared in dart:core, and it increases the library/spec interaction surface.

This change removes all references to `LinkedHashSet` from the spec.
It changess the rule for when a `{}` is a set to be

    context type is a subtype of `FutureOr^\inf(Iterable<Object>)`
    and not a subtupe of `FutureOr^\inf(Map<Object,Object>)`.

That should *work* for

* `Iterable<X>`
* `Set<X>`
* `LinkedHashSet<X>`
* `HashSet<X>`
* `FutureOr<Set<X>>`

(with likely exect-type issues as usual).

Change-Id: I3074da27b36093075c8c83e9672bf2fdec135c1c
Reviewed-on: https://dart-review.googlesource.com/c/87972
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2019-01-03 10:19:24 +00:00
Erik Ernst
5b3b1996a8 Integrated generalized-void.md into dartLangSpec.tex
Also marked the feature specification generalized-void.md
as background material

Change-Id: I08c9b54d956208db5aa8e695540b0c1fc941e46b
Reviewed-on: https://dart-review.googlesource.com/c/86421
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-12-21 18:33:19 +00:00
Erik Ernst
9e48cc7f25 Adjust specification of type tests to include promotion to X & S
Addresses https://github.com/dart-lang/sdk/issues/35314.

Change-Id: I97550187255c5ac896bfea881de85c5e97e9930e
Reviewed-on: https://dart-review.googlesource.com/c/85921
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-12-20 13:33:30 +00:00
Leaf Petersen
a862e8645a Remove docs/language/informal/subtyping.md, which is now in the language repo
Change-Id: I9ccea6c780f2b47a0097e462f8d395aca565b0f4
Reviewed-on: https://dart-review.googlesource.com/c/87703
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2018-12-20 01:18:57 +00:00
Erik Ernst
5d8501a07e Integrated invalid_returns.md
Also marked feature spec as background material.

Change-Id: I130d60aea7825cbb42738e31d0a262fb18446f67
Reviewed-on: https://dart-review.googlesource.com/c/85959
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-12-17 15:01:46 +00:00
Lasse Reichstein Holst Nielsen
8dd03bee13 Add specification of set literals.
Bug: 63d164fa7a/accepted/future-releases/set-literals/implementation-plan.md (Task 10)
Change-Id: I9728706e235162318aec824484274aea58210e8a
Reviewed-on: https://dart-review.googlesource.com/c/84600
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2018-12-14 13:15:38 +00:00
Erik Ernst
825b1c0817 Corrected status of subtyping.md
Change-Id: Iaede132c879a63bd2722593b284c8a791971190f
Reviewed-on: https://dart-review.googlesource.com/c/87064
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-12-12 14:29:26 +00:00
Erik Ernst
d118c7f94e Added changelog entry for instantiate-to-bound integration + commentary
Change-Id: Ia6b39eb9087e9101c3e652e07bc62a7bbdfbb391
Reviewed-on: https://dart-review.googlesource.com/c/87062
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2018-12-12 14:08:52 +00:00
Erik Ernst
67217f4ef8 Integration of i2b into dartLangSpec.tex
Needs some iterations of sanity checks, but has the expected shape
for it all at this point.

Change-Id: Idd96efa95d65ad6bd202b694c9d1f297cf04a8b6
Reviewed-on: https://dart-review.googlesource.com/c/86660
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-12-12 08:48:26 +00:00
Erik Ernst
cd2e7680ed Corrected instantiate-to-bound.md.
Corrected instantiate-to-bound.md to (1) take the variance of the top level
type into account for each step of the algorithm, and (2) explicitly require
that the type yielded by the algorithm must be checked for well-boundedness;
finally (3) an example showing that we can indeed get a result which is not
well-bounded was added.

Also adjusted the terminology to be consistent with dartLangSpec.tex
(where we say 'generic type alias' rather than 'parameterized type
alias').

Change-Id: I4b4e4ee7988439e39b05514f172d69233b1695d7
Reviewed-on: https://dart-review.googlesource.com/c/80140
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-12-07 09:25:17 +00:00
Erik Ernst
00cec998f5 Integrated subtyping.md into dartLangSpec.tex
Change-Id: Ie0beb59e83f14f0786ea91e0039b96d3d8cd2968
Reviewed-on: https://dart-review.googlesource.com/c/84027
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-12-04 10:23:30 +00:00
Erik Ernst
f43c76538b TBR: Added a missing status update to the int64.md feature specification.
Change-Id: I1f735b946cef540358c867a49131f1574f5bdf8b
Reviewed-on: https://dart-review.googlesource.com/c/85176
Reviewed-by: Erik Ernst <eernst@google.com>
2018-11-22 15:31:29 +00:00
Erik Ernst
614ae7f362 Integrated covariant parameter feature specs.
Also updated spec on the static and dynamic types of functions literals
and static functions along with the function objects obtained from
closurizations of them.

Introduced a separate notion of what it means to be a correct override
relation (where the old text used subtyping, which won't suffice, for
several reasons).

Introduced the notion of interfaces as a separate kind of entity that
contains method signatures (again, a new kind of entity), thus
clarifying exactly which pieces of information is available during
static analysis of member accesses, e.g., instance method invocations.

Introduced 'combined' interfaces; they are needed for `mixin`
declarations, and we will specify them soon (so it should be OK to
have them now, even though they are unused).

Change-Id: I6347df49b1aa7a81d74e25904ee75c19e8ac6930
Reviewed-on: https://dart-review.googlesource.com/c/81263
Reviewed-by: Leaf Petersen <leafp@google.com>
2018-11-22 13:07:59 +00:00