Commit graph

26 commits

Author SHA1 Message Date
Lasse Reichstein Holst Nielsen f0ed48196e Undo conversion from List() to [] and List(n) to List.filled(n, null) in comments.
Change-Id: I80b5e335f63e14a80db697e2ac3cbcf4c8d51d6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175253
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2020-12-07 22:10:18 +00:00
Lasse R.H. Nielsen 6e29700e16 Update List constructor documentation, deprecate constructor.
Emphasize that the operation is going away,
and mark constructor as deprecated.

TEST= Refactoring+deprecation only, covered by existing tests.

Change-Id: I82aa044cd2cf7bf347b624371399f44bda8f4a07
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/173261
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2020-12-07 16:20:28 +00:00
Kevin Moore 98a21f44d5 dev_compiler: cleanup outdated URLs
dartlang.org -> dart.dev
Remove references to dev-compiler group that has been deleted

Change-Id: I8d994b5f2dba19aab3c3b0fc16c5c340fbce80fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167442
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2020-10-13 20:06:28 +00:00
Kevin Moore 8f43fb01c7 This package is no longer published
Change-Id: Ic5e3156ed5e8be131cbd2498017da6f336038761
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167420
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2020-10-13 17:19:06 +00:00
Vijay Menon 3e15b67d32 [dartdevc] add forwarding from old docs to new info
Fixes https://github.com/dart-lang/sdk/issues/38984

Change-Id: Ic8ef8838b0a8c3233bf94706b243cdd9aedacbc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127963
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Kathy Walrath <kathyw@google.com>
Commit-Queue: Kathy Walrath <kathyw@google.com>
2019-12-10 22:53:26 +00:00
vsmenon 1f30612a21 Fix example in doc 2017-05-23 10:56:17 -07:00
Erik Corry aa6353b6da Dart SDK Spelling b, c, and d.
R=kmillikin@google.com
BUG=

Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Bob Nystrom c1da4705f5 Revise the generic methods doc.
- Clarify up front that "methods" also applies to functions.

- Note that it is an error to use a type parameter as a type literal.

R=leafp@google.com, skybrian@google.com

Review URL: https://codereview.chromium.org/2555803003 .
2016-12-06 13:42:46 -08:00
Bob Nystrom 41d18b72ed Revise generic method doc. 2016-12-02 15:07:00 -08:00
Bob Nystrom 4024328758 Update generic methods docs to use the new syntax.
- Move the old doc to a separate file and link to it.
- Update the new doc to use the new syntax.

I also took the liberty of trying to make it a little shorter and use
more concrete examples. I hope I still cover the same bases. If not,
let me know what I missed.
2016-12-02 13:50:05 -08:00
John Messerly 71503774d5 Remove the experimental tag from the flag header
If it becomes non-experimental it would break the http link. Experimental note still exists in prose.
2016-07-13 12:03:32 -07:00
John Messerly 0d7101d28d Update STATIC_SAFETY.md
improve optional flags documentation
2016-07-13 12:01:00 -07:00
John Messerly a210c63c28 add a note about experiments and a feedback link 2016-07-13 11:22:26 -07:00
John Messerly 8e971115cd Docs for no-implicit-casts and no-implicit-dynamic
As part of fixing https://github.com/dart-lang/sdk/issues/26782, I wanted to be able to link to some documentation for the Analyzer flags.
2016-07-13 11:13:51 -07:00
vsmenon 4a108cc638 Update GENERIC_METHODS.md 2016-03-04 05:51:45 -08:00
Bob Nystrom 472687101a Update docs to suggest replacing dynamic with a type parameter.
R=vsm@google.com

Review URL: https://codereview.chromium.org/1716593002 .
2016-02-18 16:14:54 -08:00
vsmenon 4f37e97956 Update STATIC_SAFETY.md 2016-02-18 15:43:19 -08:00
vsmenon c2d42b14f8 Update STATIC_SAFETY.md 2016-02-17 11:19:08 -08:00
vsmenon 76326585b7 Update GENERIC_METHODS.md 2016-02-03 10:45:54 -08:00
Vijay Menon a763c43486 Refactored this and uploaded here:
https://github.com/dart-lang/dev_compiler/blob/strong/STRONG_MODE.md

PTAL

R=jmesserly@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org/1541833002 .
2016-02-03 05:44:22 -08:00
vsmenon f4224e3708 Update PUBLISH.md 2016-01-08 13:40:37 -08:00
vsmenon 40925a3609 Update PUBLISH.md 2016-01-08 10:38:39 -08:00
vsmenon 23bc615478 Create PUBLISH.md 2016-01-08 10:37:20 -08:00
Leaf Petersen c27685968a Static semantics v0.1. This now contains a fairly complete version of the static semantics for a core language, along with a translation into the same core language extended with a few small primitives. The insertion of covariance type checks is handled. Per Siggi's suggestion, I've moved the extended core language primitives into the elaboration section. The main changes from the last checkin are the treatment of classes, class hierarchies, override checking, etc. I've added some text to explain the general idea of what's going on.
I've gone ahead an uploaded a pdf version to the site.dev_compiler repository that matches the version in this CL.

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org/1253143002.
2015-07-28 15:29:14 -07:00
Leaf Petersen b561f0c284 Core static semantics checkpoint. First take on a core static semantics. Class typing is not done, but all of the core language is pretty well fleshed out. Fuzzy arrow types are handled, downwards inference on function types is modeled, and local variable type inference is modeled. Field lookup has not been specified yet.
I've split out the elaboration of the input syntax into the final program with runtime checks and suppressed that from the output for now.

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org/1236443002.
2015-07-15 15:52:39 -07:00
Leaf Petersen 53345a6d6d Syntax and subtyping for strong dart. Initial pass on a core calculus for exploring and defining the key ideas underlying the strong dart type system. This CL contains the initial latex setup, a proposed base syntax to start from, and the definition of subtyping.
BUG=
R=jmesserly@google.com, vsm@google.com

Review URL: https://codereview.chromium.org/1205173003
2015-06-25 13:17:01 -07:00