Skip to content

Commit

Permalink
Version 3.7.0-316.0.dev
Browse files Browse the repository at this point in the history
Merge d704828 into dev
  • Loading branch information
Dart CI committed Jan 10, 2025
2 parents feb770f + d704828 commit 04ab58b
Show file tree
Hide file tree
Showing 60 changed files with 7,879 additions and 308 deletions.
9 changes: 7 additions & 2 deletions pkg/front_end/lib/src/base/crash.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ Future<T> reportCrash<T>(error, StackTrace trace,
await stderr.flush();
}

if (hasCrashed) return new Future<T>.error(error, trace);
if (hasCrashed) {
// Coverage-ignore-block(suite): Not run.
return new Future<T>.error(error, trace);
}
if (error is Crash) {
// Coverage-ignore-block(suite): Not run.
trace = error.trace ?? trace;
Expand Down Expand Up @@ -137,7 +140,9 @@ Future<T> withCrashReporting<T>(
} on DebugAbort {
rethrow;
} catch (e, s) {
if (e is Crash && e._hasBeenReported) {
if (e is Crash &&
// Coverage-ignore(suite): Not run.
e._hasBeenReported) {
rethrow;
}
UriOffset? uriOffset = currentUriOffset();
Expand Down
3 changes: 1 addition & 2 deletions pkg/front_end/lib/src/kernel/forest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,7 @@ class Forest {

TypeParameterType createTypeParameterTypeWithDefaultNullabilityForLibrary(
TypeParameter typeParameter, Library library) {
return new TypeParameterType.withDefaultNullability(
typeParameter);
return new TypeParameterType.withDefaultNullability(typeParameter);
}

Expression createExpressionInvocation(
Expand Down
1 change: 0 additions & 1 deletion pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ abstract class HierarchyNodeBuilder {
if (interfaces.length == 1) {
return null;
} else {
// Coverage-ignore-block(suite): Not run.
interfaces = interfaces.toList();
interfaces.removeAt(i);
return _ignoreFunction(interfaces);
Expand Down
1 change: 0 additions & 1 deletion pkg/front_end/lib/src/type_inference/type_schema.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class UnknownType extends AuxiliaryType
Nullability get declaredNullability => Nullability.undetermined;

@override
// Coverage-ignore(suite): Not run.
Nullability get nullability => Nullability.undetermined;

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ class TypeSchemaEnvironment extends HierarchyBasedTypeEnvironment
if (inferenceUsingBoundsIsEnabled &&
constraint.lower is! SharedUnknownTypeSchemaView<DartType> &&
!hasOmittedBound(typeParameterToInfer)) {
// Coverage-ignore-block(suite): Not run.
MergedTypeConstraint constraintFromBound =
operations.mergeInConstraintsFromBound(
typeParameterToInfer: typeParameterToInfer,
Expand Down
Loading

0 comments on commit 04ab58b

Please sign in to comment.