[ddc] Bump pubspec SDK constraint to 3.0.0

Update abstract classes into proper mixins since that how they are
used.

Change-Id: I8ce43f873a2aacab48d859de633f531f091e58e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/325143
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Mayank Patke <fishythefish@google.com>
This commit is contained in:
Nicholas Shahan 2023-09-11 19:07:02 +00:00 committed by Commit Queue
parent ccbc3d95dc
commit 20c8756bc8
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ import '../js_ast/js_ast.dart' show js;
///
/// This class should only implement functionality that depends purely on JS
/// classes, rather than on Analyzer/Kernel types.
abstract class SharedCompiler<Library extends Object, Class extends Object,
mixin SharedCompiler<Library extends Object, Class extends Object,
InterfaceType extends Object, FunctionNode extends Object> {
/// When inside a `[]=` operator, this will be a non-null value that should be
/// returned by any `return;` statement.

View file

@ -1943,7 +1943,7 @@ class Method extends Node implements Property {
}
/// Tag class for all interpolated positions.
abstract class InterpolatedNode implements Node {
mixin InterpolatedNode implements Node {
dynamic get nameOrPosition;
bool get isNamed => nameOrPosition is String;

View file

@ -3,7 +3,7 @@ name: dev_compiler
publish_to: none
environment:
sdk: '>=2.15.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
# Use 'any' constraints here; we get our versions from the DEPS file.
dependencies: