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

Issue 11014010: Made assert a keyword. (Closed)

Created:
8 years, 2 months ago by aam-me
Modified:
8 years, 2 months ago
Reviewers:
ahe, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Made assert a keyword. BUG=dartbug.com/5053 TEST= Kasper deployed this as https://codereview.chromium.org//11113009

Patch Set 1 #

Total comments: 8

Patch Set 2 : Renamed Assert to assertHelper. Switched parser to use parseArguments. Added assert argument checki… #

Total comments: 4

Patch Set 3 : Fixed grammar. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -48 lines) Patch
M lib/compiler/implementation/compiler.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 1 chunk +12 lines, -23 lines 0 comments Download
M lib/compiler/implementation/scanner/keyword.dart View 1 2 chunks +1 line, -1 line 0 comments Download
M lib/compiler/implementation/scanner/listener.dart View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M lib/compiler/implementation/scanner/parser.dart View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M lib/compiler/implementation/universe/universe.dart View 1 2 1 chunk +2 lines, -7 lines 0 comments Download
M lib/compiler/implementation/warnings.dart View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 2 4 chunks +1 line, -8 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 4 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
aam-me
Peter, please, review when you have a chance. Thanks!
8 years, 2 months ago (2012-09-30 20:21:24 UTC) #1
ahe
https://codereview.chromium.org/11014010/diff/1/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/11014010/diff/1/lib/compiler/implementation/compiler.dart#newcode374 lib/compiler/implementation/compiler.dart:374: assertMethod = jsHelperLibrary.find(const SourceString('Assert')); I think I would prefer ...
8 years, 2 months ago (2012-10-10 08:44:13 UTC) #2
aam-me
Peter, thank you for the comments. Please take another look when you have a chance! ...
8 years, 2 months ago (2012-10-11 05:35:25 UTC) #3
ahe
Just a quick answer. I'll take a closer look later when I'm at the office. ...
8 years, 2 months ago (2012-10-11 05:44:08 UTC) #4
ahe
LGTM! https://chromiumcodereview.appspot.com/11014010/diff/6002/lib/compiler/implementation/universe/universe.dart File lib/compiler/implementation/universe/universe.dart (right): https://chromiumcodereview.appspot.com/11014010/diff/6002/lib/compiler/implementation/universe/universe.dart#newcode205 lib/compiler/implementation/universe/universe.dart:205: bool isAssert() { return (isCall() && name.stringValue === ...
8 years, 2 months ago (2012-10-11 07:19:21 UTC) #5
aam-me
Thank you for the corrections, Peter! https://chromiumcodereview.appspot.com/11014010/diff/6002/lib/compiler/implementation/universe/universe.dart File lib/compiler/implementation/universe/universe.dart (right): https://chromiumcodereview.appspot.com/11014010/diff/6002/lib/compiler/implementation/universe/universe.dart#newcode205 lib/compiler/implementation/universe/universe.dart:205: bool isAssert() { ...
8 years, 2 months ago (2012-10-11 12:26:05 UTC) #6
kasperl
8 years, 2 months ago (2012-10-12 10:41:02 UTC) #7
I hope it's okay that I'm trying to land this change as is here:
https://codereview.chromium.org/11113009/.

Maybe I'm a bit too impatient, but it's just great to see more of the M1 issues
being resolved! Hopefully I can help fix any remaining status file issues in the
process.

Cheers,
Kasper

Powered by Google App Engine
This is Rietveld 408576698