|
This adds checks for compile-time constants in places
where the spec demands it:
- initializing toplevel finals
- initializing static final class members
- initializing named parameters to functions
Committed: https://code.google.com/p/dart/source/detail?r=468
Total comments: 1
Total comments: 62
Total comments: 22
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1170 lines, -161 lines) |
Patch |
 |
M |
client/samples/spirodraw/ColorPicker.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
client/samples/sunflower/Sunflower.dart
|
View
|
1
2
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
client/samples/total/src/ClientChart.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
View
|
1
2
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartExpression.java
|
View
|
|
2 chunks |
+13 lines, -0 lines |
4 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartIdentifier.java
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartNodeTraverser.java
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
compiler/java/com/google/dart/compiler/resolver/CompileTimeConstVisitor.java
|
View
|
1
2
3
4
|
1 chunk |
+393 lines, -0 lines |
4 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/resolver/MemberBuilder.java
|
View
|
1
2
|
1 chunk |
+9 lines, -1 line |
2 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/resolver/Resolver.java
|
View
|
1
2
3
4
|
6 chunks |
+31 lines, -24 lines |
1 comment
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/resolver/TopLevelElementBuilder.java
|
View
|
|
2 chunks |
+7 lines, -1 line |
1 comment
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/backend/js/testFieldAccessExprOpt.dart
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
1 comment
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.dart
|
View
|
1
2
3
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/inc/myother1.change.dart
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java
|
View
|
1
2
3
4
|
1 chunk |
+423 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
|
View
|
|
5 chunks |
+27 lines, -12 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/resolver/ResolverTests.java
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
samples/clock/Balls.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
samples/clock/ClockNumbers.dart
|
View
|
|
1 chunk |
+82 lines, -81 lines |
0 comments
|
Download
|
 |
M |
tests/language/language.status
|
View
|
1
2
3
4
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A |
tests/language/src/CTConst2Test.dart
|
View
|
1
2
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/ConstInitTest.dart
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
4 comments
|
Download
|
 |
M |
tests/language/src/ListLiteralTest.dart
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/StaticFinalFieldTest.dart
|
View
|
1
2
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/language/src/StringInterpolate2Test.dart
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -3 lines |
1 comment
|
Download
|
 |
M |
tests/language/src/StringInterpolateTest.dart
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
tests/language/src/StringInterpolation7NegativeTest.dart
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|