[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>
This commit is contained in:
Vijay Menon 2019-12-10 22:53:26 +00:00 committed by commit-bot@chromium.org
parent b57e10ad28
commit 3e15b67d32
4 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,9 @@
# Strong Mode
**Note: This document is out of date. Please see [Sound Dart](https://dart.dev/guides/language/sound-dart) for up-to-date
documentation on Dart's type system. The work below was a precursor towards Dart's current type system.**
Strong mode applies a more restrictive type system to Dart to address its unsound, surprising behavior in certain cases.
Strong mode helps with:

View file

@ -1,6 +1,9 @@
# Using Generic Methods
**Note: For historical reasons, this feature is called "generic methods", but it
**Note: This document is out of date. Please see [Sound Dart](https://dart.dev/guides/language/sound-dart) for up-to-date
documentation on Dart's type system. The work below was a precursor towards Dart's current type system.
For historical reasons, this feature is called "generic methods", but it
applies equally well to instance methods, static methods, top-level functions,
local functions, and even lambda expressions.**

View file

@ -1,5 +1,8 @@
# Strong Mode and Idiomatic JavaScript
**Note: This document is out of date. Please see [Sound Dart](https://dart.dev/guides/language/sound-dart) for up-to-date
documentation on Dart's type system. The work below was a precursor towards Dart's current type system.**
The Dart Dev Compiler (DDC) uses [Strong Mode](STRONG_MODE.md) to safely generate
idiomatic JavaScript. This enables better interoperability between Dart and JavaScript code.

View file

@ -1,5 +1,8 @@
# Strong Mode Static Checking
**Note: This document is out of date. Please see [Sound Dart](https://dart.dev/guides/language/sound-dart) for up-to-date
documentation on Dart's type system. The work below was a precursor towards Dart's current type system.**
## Overview
The Dart programming language has an optional, unsound type system. Although it is similar in appearance to languages such as Java, C#, or C++, its type system and static checking are fundamentally different. It permits erroneous behavior in ways that may be surprising to programmers coming from those and other conventional typed languages.