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

Issue 3008853002: Proposed kernel AST changes for annotating parameter type checks. (Closed)

Created:
3 years, 3 months ago by Paul Berry
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Proposed kernel AST changes for annotating parameter type checks. This proposal just describes the API to the AST classes; it does not introduce any serialization/deserialization code, nor does it try to represent the annotations in a compact way. In the final implementation we will probably want to make use of bitfields; e.g. the new fields VariableDeclaration.formalSafety and VariableDeclaration.interfaceSafety should probably be replaced with getters and setters that access bits in VariableDeclaration.flags. R=dmitryas@google.com Committed: https://github.com/dart-lang/sdk/commit/1c57563a315cca4f9ff0cde727f6574f546f4309

Patch Set 1 #

Total comments: 2

Patch Set 2 : Expand on InterfaceSafety example #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -0 lines) Patch
M pkg/kernel/lib/ast.dart View 1 10 chunks +187 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Paul Berry
3 years, 3 months ago (2017-08-29 22:07:22 UTC) #2
Jennifer Messerly
fyi, this looks great to me! https://codereview.chromium.org/3008853002/diff/1/pkg/kernel/lib/ast.dart File pkg/kernel/lib/ast.dart (right): https://codereview.chromium.org/3008853002/diff/1/pkg/kernel/lib/ast.dart#newcode3876 pkg/kernel/lib/ast.dart:3876: /// class D ...
3 years, 3 months ago (2017-08-29 23:02:24 UTC) #4
Paul Berry
https://codereview.chromium.org/3008853002/diff/1/pkg/kernel/lib/ast.dart File pkg/kernel/lib/ast.dart (right): https://codereview.chromium.org/3008853002/diff/1/pkg/kernel/lib/ast.dart#newcode3876 pkg/kernel/lib/ast.dart:3876: /// class D extends C<num> { On 2017/08/29 23:02:23, ...
3 years, 3 months ago (2017-08-29 23:24:24 UTC) #5
Dmitry Stefantsov
LGTM
3 years, 3 months ago (2017-08-30 10:40:29 UTC) #6
Paul Berry
On 2017/08/30 10:40:29, Dmitry Stefantsov wrote: > LGTM Ok, since this change doesn't break anything, ...
3 years, 3 months ago (2017-08-30 19:51:33 UTC) #7
Paul Berry
3 years, 3 months ago (2017-08-30 19:52:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1c57563a315cca4f9ff0cde727f6574f546f4309 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698