[vm_service] Bump vm_service language version to 3.2.

Remove older version tags in vm_service and clean up old experiments.

Bug: b/318347018
Change-Id: I6bf87e46878d57d05d7f9d64674ce0c573364d4a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345302
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
This commit is contained in:
Jonas Termansen 2024-01-10 12:06:57 +00:00 committed by Commit Queue
parent acddbed485
commit ffdb0a2e19
13 changed files with 5 additions and 20 deletions

View file

@ -507,7 +507,7 @@ class HttpProfileRequestData {
Map<String, dynamic>? get connectionInfo {
return _connectionInfo == null
? null
: UnmodifiableMapView(_connectionInfo!);
: UnmodifiableMapView(_connectionInfo);
}
final Map<String, dynamic>? _connectionInfo;

View file

@ -1745,7 +1745,7 @@ class VmService {
});
_outstandingRequests.clear();
if (_disposeHandler != null) {
await _disposeHandler!();
await _disposeHandler();
}
if (!_onDoneCompleter.isCompleted) {
_onDoneCompleter.complete();

View file

@ -7,7 +7,7 @@ description: >-
repository: https://github.com/dart-lang/sdk/tree/main/pkg/vm_service
environment:
sdk: ^3.0.0
sdk: ^3.2.0
# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the

View file

@ -2,8 +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.
// @dart=2.17
import 'common/service_test_common.dart';
import 'common/test_helper.dart';

View file

@ -2,8 +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.
// @dart=3.0
import 'common/service_test_common.dart';
import 'common/test_helper.dart';

View file

@ -2,8 +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.
// @dart=2.17
import 'dart:developer';
import 'package:test/test.dart';

View file

@ -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.
// @dart=2.17
// ignore_for_file: unused_element
import 'dart:developer';

View file

@ -1,7 +1,6 @@
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// 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.
// @dart=3.0
// ignore_for_file: library_private_types_in_public_api

View file

@ -2,9 +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.
// @dart=3.0
// ignore_for_file: experiment_not_enabled
import 'dart:developer';
import 'package:test/test.dart';
import 'package:vm_service/vm_service.dart';

View file

@ -2,8 +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.
// @dart=3.0
import 'dart:math' show pi;
import 'common/service_test_common.dart';
import 'common/test_helper.dart';

View file

@ -2,8 +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.
// @dart=2.17
import 'dart:developer';
import 'package:test/test.dart';

View file

@ -1056,7 +1056,7 @@ class TypeField extends Member {
@override
String? get docs {
String str = _docs == null ? '' : _docs!;
String str = _docs ?? '';
if (type.isMultipleReturns) {
str += '\n\n[$generatableName] can be one of '
'${joinLast(type.types.map((t) => '[$t]'), ', ', ' or ')}.';

View file

@ -929,7 +929,7 @@ class TypeField extends Member {
@override
String? get docs {
String str = _docs == null ? '' : _docs!;
String str = _docs ?? '';
if (type.isMultipleReturns) {
str += '\n\n@return one of '
'${joinLast(type.types.map((t) => '<code>$t</code>'), ', ', ' or ')}';