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

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

Issue 1252323003: Allow arguments before and after block-formatted functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update pubspec and changelog. Created 5 years, 4 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
« no previous file with comments | « pubspec.yaml ('k') | test/regression/0000/0050.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> 1 >>>
2 _log(new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR, 2 _log(new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
3 message, null), arg); 3 message, null), arg);
4 <<< 4 <<<
5 _log( 5 _log(
6 new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR, 6 new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
7 message, null), 7 message, null),
8 arg); 8 arg);
9 >>> (indent 4) 9 >>> (indent 4)
10 expect(date_format 10 expect(date_format
(...skipping 23 matching lines...) Expand all
34 HInstruction value = fieldValues[member]; 34 HInstruction value = fieldValues[member];
35 if (value == null) { 35 if (value == null) {
36 // Uninitialized native fields are pre-initialized by the native 36 // Uninitialized native fields are pre-initialized by the native
37 // implementation. 37 // implementation.
38 assert(isNativeUpgradeFactory); 38 assert(isNativeUpgradeFactory);
39 } else { 39 } else {
40 fields.add(member); 40 fields.add(member);
41 DartType type = localsHandler.substInContext(member.type); 41 DartType type = localsHandler.substInContext(member.type);
42 constructorArguments.add(potentiallyCheckOrTrustType(value, type)); 42 constructorArguments.add(potentiallyCheckOrTrustType(value, type));
43 } 43 }
44 }, 44 }, includeSuperAndInjectedMembers: true);
45 includeSuperAndInjectedMembers: true);
46 >>> (indent 6) 45 >>> (indent 6)
47 HLoopBlockInformation info = new HLoopBlockInformation( 46 HLoopBlockInformation info = new HLoopBlockInformation(
48 HLoopBlockInformation.loopType(loop), 47 HLoopBlockInformation.loopType(loop),
49 wrapExpressionGraph(initializerGraph), 48 wrapExpressionGraph(initializerGraph),
50 wrapExpressionGraph(conditionExpression), 49 wrapExpressionGraph(conditionExpression),
51 wrapStatementGraph(bodyGraph), wrapExpressionGraph(updateGraph), 50 wrapStatementGraph(bodyGraph), wrapExpressionGraph(updateGraph),
52 conditionBlock.loopInformation.target, 51 conditionBlock.loopInformation.target,
53 conditionBlock.loopInformation.labels, 52 conditionBlock.loopInformation.labels,
54 sourceFileLocationForBeginToken(loop), 53 sourceFileLocationForBeginToken(loop),
55 sourceFileLocationForEndToken(loop)); 54 sourceFileLocationForEndToken(loop));
(...skipping 14 matching lines...) Expand all
70 buildSwitchCase); 69 buildSwitchCase);
71 <<< 70 <<<
72 handleSwitch( 71 handleSwitch(
73 node, 72 node,
74 new NullJumpHandler(compiler), 73 new NullJumpHandler(compiler),
75 buildExpression, 74 buildExpression,
76 node.cases, 75 node.cases,
77 getConstants, 76 getConstants,
78 (_) => false, // No case is default. 77 (_) => false, // No case is default.
79 buildSwitchCase); 78 buildSwitchCase);
OLDNEW
« no previous file with comments | « pubspec.yaml ('k') | test/regression/0000/0050.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698