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

Side by Side Diff: packages/dart_style/test/regression/0000/0000.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 >>>
2 _log(new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
3 message, null), arg);
4 <<<
5 _log(
6 new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
7 message, null),
8 arg);
9 >>> (indent 4)
10 expect(date_format
11 .parsePattern("hh:mm:ss")
12 .map((x) => x.pattern)
13 .toList(), orderedEquals(["hh", ":", "mm", ":", "ss"]));
14 <<<
15 expect(date_format.parsePattern("hh:mm:ss").map((x) => x.pattern).toList(),
16 orderedEquals(["hh", ":", "mm", ":", "ss"]));
17 >>> (indent 4)
18 classElement.forEachInstanceField(
19 (ClassElement enclosingClass, VariableElement member) {
20 HInstruction value = fieldValues[member];
21 if (value == null) {
22 // Uninitialized native fields are pre-initialized by the native
23 // implementation.
24 assert(isNativeUpgradeFactory);
25 } else {
26 fields.add(member);
27 DartType type = localsHandler.substInContext(member.type);
28 constructorArguments.add(potentiallyCheckOrTrustType(value, type));
29 }
30 }, includeSuperAndInjectedMembers: true);
31 <<<
32 classElement.forEachInstanceField(
33 (ClassElement enclosingClass, VariableElement member) {
34 HInstruction value = fieldValues[member];
35 if (value == null) {
36 // Uninitialized native fields are pre-initialized by the native
37 // implementation.
38 assert(isNativeUpgradeFactory);
39 } else {
40 fields.add(member);
41 DartType type = localsHandler.substInContext(member.type);
42 constructorArguments.add(potentiallyCheckOrTrustType(value, type));
43 }
44 }, includeSuperAndInjectedMembers: true);
45 >>> (indent 6)
46 HLoopBlockInformation info = new HLoopBlockInformation(
47 HLoopBlockInformation.loopType(loop),
48 wrapExpressionGraph(initializerGraph),
49 wrapExpressionGraph(conditionExpression),
50 wrapStatementGraph(bodyGraph), wrapExpressionGraph(updateGraph),
51 conditionBlock.loopInformation.target,
52 conditionBlock.loopInformation.labels,
53 sourceFileLocationForBeginToken(loop),
54 sourceFileLocationForEndToken(loop));
55 <<<
56 HLoopBlockInformation info = new HLoopBlockInformation(
57 HLoopBlockInformation.loopType(loop),
58 wrapExpressionGraph(initializerGraph),
59 wrapExpressionGraph(conditionExpression),
60 wrapStatementGraph(bodyGraph),
61 wrapExpressionGraph(updateGraph),
62 conditionBlock.loopInformation.target,
63 conditionBlock.loopInformation.labels,
64 sourceFileLocationForBeginToken(loop),
65 sourceFileLocationForEndToken(loop));
66 >>> (indent 6)
67 handleSwitch(node, new NullJumpHandler(compiler), buildExpression,
68 node.cases, getConstants, (_) => false, // No case is default.
69 buildSwitchCase);
70 <<<
71 handleSwitch(
72 node,
73 new NullJumpHandler(compiler),
74 buildExpression,
75 node.cases,
76 getConstants,
77 (_) => false, // No case is default.
78 buildSwitchCase);
OLDNEW
« no previous file with comments | « packages/dart_style/test/io_test.dart ('k') | packages/dart_style/test/regression/0000/0005.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698