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

Issue 10949015: Issue 5052. Analyzer should treat assert as a keyword (Closed)

Created:
8 years, 3 months ago by scheglov
Modified:
8 years, 3 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -119 lines) Patch
M compiler/java/com/google/dart/compiler/DartCompiler.java View 1 chunk +0 lines, -5 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/ASTVisitor.java View 1 chunk +4 lines, -0 lines 0 comments Download
A compiler/java/com/google/dart/compiler/ast/DartAssertStatement.java View 1 chunk +31 lines, -0 lines 1 comment Download
M compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java View 1 chunk +8 lines, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/CompletionHooksParserBase.java View 1 chunk +4 lines, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/DartParser.java View 5 chunks +15 lines, -3 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/Token.java View 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/Elements.java View 2 chunks +0 lines, -18 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 1 chunk +0 lines, -4 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java View 1 chunk +0 lines, -4 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java View 1 chunk +0 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 5 chunks +20 lines, -39 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java View 2 chunks +19 lines, -1 line 0 comments Download
M compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java View 1 chunk +3 lines, -44 lines 0 comments Download
M tests/co19/co19-compiler.status View 1 chunk +11 lines, -0 lines 0 comments Download
M tests/language/language.status View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 3 months ago (2012-09-19 02:15:40 UTC) #1
Brian Wilkerson
8 years, 3 months ago (2012-09-19 13:09:32 UTC) #2
LGTM

https://codereview.chromium.org/10949015/diff/1/compiler/java/com/google/dart...
File compiler/java/com/google/dart/compiler/ast/DartAssertStatement.java
(right):

https://codereview.chromium.org/10949015/diff/1/compiler/java/com/google/dart...
compiler/java/com/google/dart/compiler/ast/DartAssertStatement.java:8: *
Represents a Dart 'break' statement.
"break" --> "assert"

Powered by Google App Engine
This is Rietveld 408576698