diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart index 6df5e4cba35..be090da6fa6 100644 --- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart +++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart @@ -1903,7 +1903,9 @@ class SourceLibraryBuilder extends LibraryBuilderImpl { isMixinDeclaration ? null : supertype, isNamedMixinApplication ? interfaces - : isMixinDeclaration ? [supertype, mixin] : null, + : isMixinDeclaration + ? [supertype, mixin] + : null, null, // No `on` clause types. new Scope( local: {}, diff --git a/pkg/front_end/test/testing_utils.dart b/pkg/front_end/test/testing_utils.dart index 205d61520f1..0ab71ffcbc4 100644 --- a/pkg/front_end/test/testing_utils.dart +++ b/pkg/front_end/test/testing_utils.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:io' show Platform, Process, ProcessResult; +import 'dart:io' show Directory, Process, ProcessResult; import 'package:testing/testing.dart' show Chain, TestDescription; @@ -21,9 +21,9 @@ Stream filterList( } Future> getGitFiles(Chain suite) async { - ProcessResult result = await Process.run( - Platform.isWindows ? "git.bat" : "git", ["ls-files", "."], - workingDirectory: suite.uri.path); + ProcessResult result = await Process.run("git", ["ls-files", "."], + workingDirectory: new Directory.fromUri(suite.uri).absolute.path, + runInShell: true); String stdout = result.stdout; return stdout .split(new RegExp('^', multiLine: true)) diff --git a/pkg/kernel/lib/transformations/mixin_full_resolution.dart b/pkg/kernel/lib/transformations/mixin_full_resolution.dart index 314803a6fb8..f075b347439 100644 --- a/pkg/kernel/lib/transformations/mixin_full_resolution.dart +++ b/pkg/kernel/lib/transformations/mixin_full_resolution.dart @@ -325,7 +325,9 @@ class SuperCallResolutionTransformer extends Transformer { hierarchy.getDispatchTarget(lookupClass, new Name("noSuchMethod")); String methodNameUsed = (isGetter) ? "get:$methodName" - : (isSetter) ? "set:$methodName=" : methodName; + : (isSetter) + ? "set:$methodName=" + : methodName; if (noSuchMethod != null && noSuchMethod.function.positionalParameters.length == 1 && noSuchMethod.function.namedParameters.isEmpty) { diff --git a/pkg/vm/lib/transformations/ffi_definitions.dart b/pkg/vm/lib/transformations/ffi_definitions.dart index 9ba04b25870..8ec18059079 100644 --- a/pkg/vm/lib/transformations/ffi_definitions.dart +++ b/pkg/vm/lib/transformations/ffi_definitions.dart @@ -406,7 +406,9 @@ class _FfiDefinitionTransformer extends FfiTransformer { // _fromAddress(_loadIntPtr(pointer, offset)); final loadMethod = isPointer ? loadMethods[NativeType.kIntptr] - : optimizedTypes.contains(type) ? loadMethods[type] : loadStructMethod; + : optimizedTypes.contains(type) + ? loadMethods[type] + : loadStructMethod; Expression getterReturnValue = StaticInvocation( loadMethod, Arguments([