Skip to content

Commit

Permalink
Bump collection to c90b19f07b48391f3b1b4c39dd06ef0177f8e07c
Browse files Browse the repository at this point in the history
Changes:
```
> git log --format="%C(auto) %h %s" 141d83a..c90b19f
 https://dart.googlesource.com/collection.git/+/c90b19f blast_repo fixes (348)
 https://dart.googlesource.com/collection.git/+/a1d2507 Add flattenedToList and flattenedToSet (328)
 https://dart.googlesource.com/collection.git/+/e9219c7 Deprecate whereNotNull from IterableNullableExtensions (332)
 https://dart.googlesource.com/collection.git/+/9e441f1 Deprecate transitiveClosure (336)

```

Diff: https://dart.googlesource.com/collection.git/+/141d83af3d7586ae9d27de610fd426071c98e5d3..c90b19f07b48391f3b1b4c39dd06ef0177f8e07c/
Change-Id: I9ed24345c132ad92ae65c5e70ab37647fad0ec00
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370960
Reviewed-by: Nate Bosch <[email protected]>
Commit-Queue: Devon Carew <[email protected]>
  • Loading branch information
devoncarew authored and Commit Queue committed Jun 11, 2024
1 parent 45835b0 commit f97004f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ vars = {
"characters_rev": "7633a16a22c626e19ca750223237396315268a06",
"cli_util_rev": "c37d5e14f50e72a268c1ad86149cecfa4b58c494",
"clock_rev": "7cbf08e36a92f14f22132d255846610c1b065324",
"collection_rev": "141d83af3d7586ae9d27de610fd426071c98e5d3",
"collection_rev": "c90b19f07b48391f3b1b4c39dd06ef0177f8e07c",
"convert_rev": "70940e3728f34d897ad92f44f98db2d47286b090",
"crypto_rev": "7a9428a78962783f6081dc42465ed580cff225ca",
"csslib_rev": "23c314bb6b247a71348cfb0987ba0eb29574abb6",
Expand Down
2 changes: 1 addition & 1 deletion pkg/analysis_server/test/lsp/code_actions_abstract.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ abstract class AbstractCodeActionsTest extends AbstractLspAnalysisServerTest {
}
return action;
})
.whereNotNull()
.nonNulls
.toList();
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/analysis_server/test/lsp/server_abstract.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ abstract class AbstractLspAnalysisServerTest
(textDocEdit) => textDocEdit,
),
)
.whereNotNull()
.nonNulls
.toList();

@override
Expand Down
5 changes: 2 additions & 3 deletions pkg/analyzer/tool/summary/mini_ast.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import 'package:_fe_analyzer_shared/src/parser/parser.dart';
import 'package:_fe_analyzer_shared/src/parser/stack_listener.dart';
import 'package:_fe_analyzer_shared/src/scanner/token.dart';
import 'package:analyzer/src/dart/analysis/experiments.dart';
import 'package:collection/collection.dart';
import 'package:pub_semver/pub_semver.dart';

/// "Mini AST" representation of a declaration which can accept annotations.
Expand Down Expand Up @@ -433,8 +432,8 @@ class MiniAstBuilder extends StackListener {
var name = pop() as String;
var metadata = popTypedList<Annotation>();
var comment = pop() as Comment?;
compilationUnit.declarations.add(EnumDeclaration(
comment, metadata, name, constants.whereNotNull().toList()));
compilationUnit.declarations.add(
EnumDeclaration(comment, metadata, name, constants.nonNulls.toList()));
}

@override
Expand Down
3 changes: 1 addition & 2 deletions pkg/dds/test/dap/integration/dart_test_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// 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 'package:collection/collection.dart';
import 'package:dap/dap.dart';
import 'package:test/test.dart';

Expand Down Expand Up @@ -114,7 +113,7 @@ main() {
// Collect paths from any OutputEvents that had them.
final stackFramePaths = outputEvents.output
.map((event) => event.source?.path)
.whereNotNull()
.nonNulls
.toList();
// Ensure we had a frame with the absolute path of the test script.
expect(stackFramePaths, contains(testFile.path));
Expand Down
3 changes: 1 addition & 2 deletions pkg/sourcemap_testing/lib/src/stepping_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'dart:ffi' show Abi;
import 'dart:io';

import 'package:_fe_analyzer_shared/src/testing/annotated_code_helper.dart';
import 'package:collection/collection.dart' show IterableNullableExtension;
import 'package:dart2js_tools/src/util.dart';
import 'package:expect/minitest.dart'; // ignore: deprecated_member_use
import 'package:path/path.dart' as path;
Expand Down Expand Up @@ -430,7 +429,7 @@ ProcessResult _runD8(String outInspectorPath, List<String> scriptD8Command,
...scriptD8Command,
'--',
debugAction,
...breakpoints.whereNotNull()
...breakpoints.nonNulls
]);
if (runResult.exitCode != 0) {
print(runResult.stderr);
Expand Down
3 changes: 1 addition & 2 deletions pkg/sourcemap_testing/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ name: sourcemap_testing
publish_to: none

environment:
sdk: '>=2.16.0 <3.0.0'
sdk: ^3.0.0

# Use 'any' constraints here; we get our versions from the DEPS file.
dependencies:
_fe_analyzer_shared: any
collection: any
dart2js_tools: any
expect: any
path: any
Expand Down

0 comments on commit f97004f

Please sign in to comment.