OLD | NEW |
1 >>> (indent 2) | 1 >>> (indent 2) |
2 main() { | 2 main() { |
3 List<Future<List<LocationImpl>>> nodeFutures = | 3 List<Future<List<LocationImpl>>> nodeFutures = |
4 <Future<List<LocationImpl>>>[]; | 4 <Future<List<LocationImpl>>>[]; |
5 } | 5 } |
6 <<< | 6 <<< |
7 main() { | 7 main() { |
8 List<Future<List<LocationImpl>>> nodeFutures = | 8 List<Future<List<LocationImpl>>> nodeFutures = |
9 <Future<List<LocationImpl>>>[]; | 9 <Future<List<LocationImpl>>>[]; |
10 } | 10 } |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // TODO(johnniwinther): Support closure variables. | 239 // TODO(johnniwinther): Support closure variables. |
240 new Set<dart2js.Local>()), () { | 240 new Set<dart2js.Local>()), () { |
241 irBuilder.buildFunctionHeader( | 241 irBuilder.buildFunctionHeader( |
242 constructor.parameters.map(converter.convertElement)); | 242 constructor.parameters.map(converter.convertElement)); |
243 // Visit the body directly to avoid processing the signature as | 243 // Visit the body directly to avoid processing the signature as |
244 // expressions. | 244 // expressions. |
245 // Call to allow for `body == null` in case of synthesized constructors. | 245 // Call to allow for `body == null` in case of synthesized constructors. |
246 build(body); | 246 build(body); |
247 return irBuilder.makeConstructorDefinition(const [], const []); | 247 return irBuilder.makeConstructorDefinition(const [], const []); |
248 }); | 248 }); |
249 } | 249 } |
| 250 >>> (indent 4) |
| 251 Element expectedElement = (declarations[0] as TopLevelVariableDeclaration) |
| 252 .variables |
| 253 .variables[0] |
| 254 .name |
| 255 .staticElement; |
| 256 <<< |
| 257 Element expectedElement = (declarations[0] as TopLevelVariableDeclaration) |
| 258 .variables |
| 259 .variables[0] |
| 260 .name |
| 261 .staticElement; |
OLD | NEW |