From 2f05659b621cb69a226cb53d21186a0a698fe437 Mon Sep 17 00:00:00 2001 From: Jonas Termansen Date: Fri, 23 Feb 2024 00:29:58 +0000 Subject: [PATCH] [vm_service] Bump vm_service language version to 3.3. Fixes: b/318347018 Change-Id: I55ad1e6b30dceef32ab32a5b70b0b9072bfc02d1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/344023 Auto-Submit: Jonas Termansen Commit-Queue: Ben Konyi Reviewed-by: Ben Konyi --- pkg/vm_service/pubspec.yaml | 2 +- .../test/eval_inside_extension_type_method.dart | 2 -- pkg/vm_service/test/eval_on_extension_type.dart | 2 -- .../step_through_extension_type_method_call_test.dart | 8 ++------ 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/pkg/vm_service/pubspec.yaml b/pkg/vm_service/pubspec.yaml index 981bbe0eabf..da533f43b23 100644 --- a/pkg/vm_service/pubspec.yaml +++ b/pkg/vm_service/pubspec.yaml @@ -7,7 +7,7 @@ description: >- repository: https://github.com/dart-lang/sdk/tree/main/pkg/vm_service environment: - sdk: ^3.2.0 + sdk: ^3.3.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 diff --git a/pkg/vm_service/test/eval_inside_extension_type_method.dart b/pkg/vm_service/test/eval_inside_extension_type_method.dart index ca04e164e87..0b6dfcc293e 100644 --- a/pkg/vm_service/test/eval_inside_extension_type_method.dart +++ b/pkg/vm_service/test/eval_inside_extension_type_method.dart @@ -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.3 - import 'dart:async'; import 'dart:developer'; diff --git a/pkg/vm_service/test/eval_on_extension_type.dart b/pkg/vm_service/test/eval_on_extension_type.dart index b4fdaa403c3..56218d81370 100644 --- a/pkg/vm_service/test/eval_on_extension_type.dart +++ b/pkg/vm_service/test/eval_on_extension_type.dart @@ -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.3 - import 'dart:async'; import 'dart:developer'; diff --git a/pkg/vm_service/test/step_through_extension_type_method_call_test.dart b/pkg/vm_service/test/step_through_extension_type_method_call_test.dart index 0cf3743876e..bd2d546029a 100644 --- a/pkg/vm_service/test/step_through_extension_type_method_call_test.dart +++ b/pkg/vm_service/test/step_through_extension_type_method_call_test.dart @@ -2,18 +2,14 @@ // 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. -// VMOptions=--enable-experiment=inline-class -// @dart=3.4 -// ignore_for_file: experiment_not_enabled,undefined_class,undefined_function - import 'package:test/test.dart'; import 'package:vm_service/vm_service.dart'; import 'common/service_test_common.dart'; import 'common/test_helper.dart'; -const int testMainStartLine = 23; -const int inlineClassDefinitionStartLine = 19; +const int testMainStartLine = 19; +const int inlineClassDefinitionStartLine = 15; const String fileName = 'step_through_extension_type_method_call_test.dart'; extension type IdNumber(int i) {