|
|
New analyzer snapshot.
1. Fixes for converting properties for fields:
1.1. Only if neither getter not setter are overridden. Note that we ignore the fact that it _might_ be overridden in some subclass that we don't see.
Without this assumption almost nothing can be a field.
2.2. Create final fields when possible.
2. Generate field formal parameters where possible.
R=brianwilkerson@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=31043
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+3676 lines, -4463 lines) |
Patch |
 |
M |
editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/Context.java
|
View
|
1
|
4 chunks |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/SyntaxTranslator.java
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/EngineSemanticProcessor.java
|
View
|
1
|
6 chunks |
+2 lines, -63 lines |
0 comments
|
Download
|
 |
M |
editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/processor/PropertySemanticProcessor.java
|
View
|
1
|
6 chunks |
+448 lines, -165 lines |
0 comments
|
Download
|
 |
M |
editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/PropertySemanticProcessorTest.java
|
View
|
1
|
7 chunks |
+267 lines, -214 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/ast.dart
|
View
|
1
|
223 chunks |
+791 lines, -1885 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/constant.dart
|
View
|
|
9 chunks |
+13 lines, -17 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/element.dart
|
View
|
|
112 chunks |
+181 lines, -597 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/engine.dart
|
View
|
|
101 chunks |
+521 lines, -453 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/error.dart
|
View
|
|
36 chunks |
+83 lines, -83 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/html.dart
|
View
|
|
35 chunks |
+168 lines, -139 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/instrumentation.dart
|
View
|
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/parser.dart
|
View
|
1
|
141 chunks |
+222 lines, -218 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/resolver.dart
|
View
|
1
|
103 chunks |
+420 lines, -277 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/scanner.dart
|
View
|
|
36 chunks |
+127 lines, -66 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/sdk.dart
|
View
|
|
5 chunks |
+4 lines, -27 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/sdk_io.dart
|
View
|
|
8 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/source.dart
|
View
|
|
16 chunks |
+38 lines, -28 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/source_io.dart
|
View
|
|
7 chunks |
+31 lines, -16 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/utilities_dart.dart
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/lib/src/generated/utilities_general.dart
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/pubspec.yaml
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/analyzer/test/generated/ast_test.dart
|
View
|
1
|
8 chunks |
+154 lines, -129 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/test/generated/element_test.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/test/generated/parser_test.dart
|
View
|
1
|
19 chunks |
+42 lines, -14 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/test/generated/resolver_test.dart
|
View
|
|
17 chunks |
+54 lines, -40 lines |
0 comments
|
Download
|
 |
M |
pkg/analyzer/test/generated/test_support.dart
|
View
|
|
9 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
 |
M |
pkg/intl/lib/extract_messages.dart
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|