Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Issue 54903010: Update spec for 0.8: Malformed types cause runtime errors for as, is and catch clauses, as well as … (Closed)

Created:
7 years, 1 month ago by gbracha
Modified:
7 years, 1 month ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Update spec for 0.8: Malformed types cause runtime errors for as, is and catch clauses, as well as checked mode subtype tests. Scripts main must be in exported namespace of library (can be exported, but import alone is not enough). Document effect of @proxy on typechecking. Metadata cannot include types. Committed: https://code.google.com/p/dart/source/detail?r=29775

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -84 lines) Patch
M docs/language/dartLangSpec.tex View 23 chunks +37 lines, -84 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
gbracha
Committed patchset #1 manually as r29775 (presubmit successful).
7 years, 1 month ago (2013-11-01 22:18:36 UTC) #1
Johnni Winther
7 years, 1 month ago (2013-11-04 12:34:49 UTC) #2
Message was sent while issue was closed.
https://codereview.chromium.org/54903010/diff/1/docs/language/dartLangSpec.tex
File docs/language/dartLangSpec.tex (right):

https://codereview.chromium.org/54903010/diff/1/docs/language/dartLangSpec.te...
docs/language/dartLangSpec.tex:5603: Since $i$ is not a type, a static warning
will be issue at the declaration of $j$. However, the program can be executed
without incident in production mode because he undeclared type $i$ is treated as
\DYNAMIC{}. However, in checked mode, the implicit subtype test at the
assignment will trigger an error at runtime.
'because he undeclared' -> 'because the undeclared'.

Powered by Google App Engine
This is Rietveld 408576698