mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
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>
This commit is contained in:
parent
c7e8a37cf3
commit
5d8501a07e
3 changed files with 384 additions and 172 deletions
|
@ -90,7 +90,7 @@
|
||||||
\definecolor{rationaleColor}{rgb}{0.5,0.5,0.5}
|
\definecolor{rationaleColor}{rgb}{0.5,0.5,0.5}
|
||||||
|
|
||||||
% Environments for different kinds of text.
|
% Environments for different kinds of text.
|
||||||
\newenvironment{Q}[1]{{\bf #1}}{}
|
\newenvironment{Q}[1]{{\bf{}Upcoming: {#1}}}{}
|
||||||
\newenvironment{rationale}[1]{{\color{rationaleColor}\it{#1}}}{}
|
\newenvironment{rationale}[1]{{\color{rationaleColor}\it{#1}}}{}
|
||||||
\newenvironment{commentary}[1]{{\color{commentaryColor}\sf{#1}}}{}
|
\newenvironment{commentary}[1]{{\color{commentaryColor}\sf{#1}}}{}
|
||||||
|
|
||||||
|
@ -104,6 +104,7 @@
|
||||||
% specific topic in a list of similar topics (like many forms of
|
% specific topic in a list of similar topics (like many forms of
|
||||||
% expressions of a similar nature).
|
% expressions of a similar nature).
|
||||||
\newcommand{\Case}[1]{\textbf{Case }$\langle\hspace{0.1em}${#1}$\hspace{0.1em}\rangle$\textbf{.}}
|
\newcommand{\Case}[1]{\textbf{Case }$\langle\hspace{0.1em}${#1}$\hspace{0.1em}\rangle$\textbf{.}}
|
||||||
|
\newcommand{\EndCase}{\mbox{}\hfill$\scriptscriptstyle\Box$\xspace}
|
||||||
|
|
||||||
\newenvironment{dartCode}[1][!ht] {
|
\newenvironment{dartCode}[1][!ht] {
|
||||||
\def\@programcr{\@addfield\strut}%
|
\def\@programcr{\@addfield\strut}%
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2,9 +2,8 @@
|
||||||
|
|
||||||
**Owner**: leafp@google.com
|
**Owner**: leafp@google.com
|
||||||
|
|
||||||
**Status**: Implemented.
|
**Status**: This document is now background material.
|
||||||
|
For normative text, please consult the language specification.
|
||||||
Status: Ready for implementation
|
|
||||||
|
|
||||||
**Note: Also see alternative presentation at the bottom for a dual presentation
|
**Note: Also see alternative presentation at the bottom for a dual presentation
|
||||||
of these rules in terms of which things are errors, rather than which things are
|
of these rules in terms of which things are errors, rather than which things are
|
||||||
|
|
Loading…
Reference in a new issue