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

Unified Diff: pkg/kernel/lib/transformations/closure/mock.dart

Issue 2665723002: Implement canonical name scheme in kernel. (Closed)
Patch Set: Address Kevin's comments Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/kernel/lib/text/ast_to_text.dart ('k') | pkg/kernel/lib/transformations/continuation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/transformations/closure/mock.dart
diff --git a/pkg/kernel/lib/transformations/closure/mock.dart b/pkg/kernel/lib/transformations/closure/mock.dart
index 6f13fca68a7ba6e3cb4d2b28f3a6b6bd32651445..95a4cbdcd7f53d74f2f656f6b33cf1d1c83e65d6 100644
--- a/pkg/kernel/lib/transformations/closure/mock.dart
+++ b/pkg/kernel/lib/transformations/closure/mock.dart
@@ -87,8 +87,8 @@ Class mockUpContext(CoreTypes coreTypes, Program program) {
type: coreTypes.intClass.rawType, isFinal: true);
// TODO(karlklose): use the default factory when it is exposed again.
- Procedure listConstructor = coreTypes.listClass.procedures.firstWhere(
- (Procedure p) => p.name.name == 'filled');
+ Procedure listConstructor = coreTypes.listClass.procedures
+ .firstWhere((Procedure p) => p.name.name == 'filled');
Constructor constructor = new Constructor(
new FunctionNode(new EmptyStatement(),
« no previous file with comments | « pkg/kernel/lib/text/ast_to_text.dart ('k') | pkg/kernel/lib/transformations/continuation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698