Skip to content

Commit 2f2cf79

Browse files
pqCommit Queue
authored andcommitted
[server] bump SDK constraint; wildcards FTW!
Change-Id: I35b68be178eb5518f12520dfd523162b0eb3428d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390583 Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
1 parent da8f177 commit 2f2cf79

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

pkg/analysis_server/lib/src/services/completion/postfix/postfix_completion.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ abstract final class DartPostfixCompletion {
197197

198198
static bool _false(_) => false;
199199

200-
static Future<PostfixCompletion?> _null(_, __) async => null;
200+
static Future<PostfixCompletion?> _null(_, _) async => null;
201201
}
202202

203203
/// A description of a postfix completion.

pkg/analysis_server/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: analysis_server
33
publish_to: none
44

55
environment:
6-
sdk: '>=3.3.0 <4.0.0'
6+
sdk: '>=3.7.0-edge <4.0.0'
77

88
# Use 'any' constraints here; we get our versions from the DEPS file.
99
dependencies:

pkg/analysis_server/test/lsp/error_or_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final errorY = error(ErrorCodes.ParseError, 'y');
2424
class ErrorOrRecord2ExtensionTest {
2525
test_ifResults_error() {
2626
var called = false;
27-
(success(1), errorX).ifResults((_, __) => called = true);
27+
(success(1), errorX).ifResults((_, _) => called = true);
2828
expect(called, isFalse);
2929
}
3030

@@ -75,7 +75,7 @@ class ErrorOrRecord2ExtensionTest {
7575
class ErrorOrRecord3ExtensionTest {
7676
test_ifResults_error() {
7777
var called = false;
78-
(success(1), success(1), errorX).ifResults((_, __, ___) => called = true);
78+
(success(1), success(1), errorX).ifResults((_, _, _) => called = true);
7979
expect(called, isFalse);
8080
}
8181

@@ -132,7 +132,7 @@ class ErrorOrRecord4ExtensionTest {
132132
test_ifResults_error() {
133133
var called = false;
134134
(success(1), success(1), success(1), errorX)
135-
.ifResults((_, __, ___, ____) => called = true);
135+
.ifResults((_, _, _, _) => called = true);
136136
expect(called, isFalse);
137137
}
138138

pkg/analysis_server/test/src/services/correction/fix/remove_const_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ var x = B(a: A(), b: const [0]);
141141
Future<void> test_implicitConst_invalidConstant() async {
142142
await resolveTestCode('''
143143
class A {
144-
const A(_, __);
144+
const A(_, _);
145145
}
146146
147147
void f(bool b) {
@@ -151,7 +151,7 @@ void f(bool b) {
151151

152152
await assertHasFix('''
153153
class A {
154-
const A(_, __);
154+
const A(_, _);
155155
}
156156
157157
void f(bool b) {

0 commit comments

Comments
 (0)