Skip to content

Commit e5fa9de

Browse files
committed
Version 2.17.0-266.7.beta
* Cherry-pick 557089e to beta * Cherry-pick 7d8d3bb to beta
2 parents 0d099f2 + ee1bc42 commit e5fa9de

21 files changed

+379
-3
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ vars = {
141141
"pool_rev": "7abe634002a1ba8a0928eded086062f1307ccfae",
142142
"process_rev": "56ece43b53b64c63ae51ec184b76bd5360c28d0b",
143143
"protobuf_rev": "c1eb6cb51af39ccbaa1a8e19349546586a5c8e31",
144-
"pub_rev": "a3a102a549388a6dbfecc9252fabb618f9a2f5f7",
144+
"pub_rev": "a949b329b1b51f5f3973a790e0a0a45897d837de",
145145
"pub_semver_rev": "ea6c54019948dc03042c595ce9413e17aaf7aa38",
146146
"root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50",
147147
"rust_revision": "b7856f695d65a8ebc846754f97d15814bcb1c244",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
import 'dart:async';
6+
7+
FutureOr<T?> foo<T>(T t) {}
8+
9+
bar<S>(bool t, S s) {
10+
var x = [foo(s), s];
11+
}
12+
13+
main() {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?> {}
8+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic {
9+
core::List<FutureOr<self::bar::S?>?> x = <FutureOr<self::bar::S?>?>[self::foo<self::bar::S%>(s), s];
10+
}
11+
static method main() → dynamic {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?> {}
8+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic {
9+
core::List<FutureOr<self::bar::S?>?> x = core::_GrowableList::_literal2<FutureOr<self::bar::S?>?>(self::foo<self::bar::S%>(s), s);
10+
}
11+
static method main() → dynamic {}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import 'dart:async';
2+
3+
FutureOr<T?> foo<T>(T t) {}
4+
bar<S>(bool t, S s) {}
5+
main() {}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import 'dart:async';
2+
3+
FutureOr<T?> foo<T>(T t) {}
4+
bar<S>(bool t, S s) {}
5+
main() {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?> {}
8+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic {
9+
core::List<FutureOr<self::bar::S?>?> x = <FutureOr<self::bar::S?>?>[self::foo<self::bar::S%>(s), s];
10+
}
11+
static method main() → dynamic {}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?> {}
8+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic {
9+
core::List<FutureOr<self::bar::S?>?> x = <FutureOr<self::bar::S?>?>[self::foo<self::bar::S%>(s), s];
10+
}
11+
static method main() → dynamic {}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?>
8+
;
9+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic
10+
;
11+
static method main() → dynamic
12+
;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
library /*isNonNullableByDefault*/;
2+
import self as self;
3+
import "dart:core" as core;
4+
5+
import "dart:async";
6+
7+
static method foo<T extends core::Object? = dynamic>(self::foo::T% t) → FutureOr<self::foo::T?> {}
8+
static method bar<S extends core::Object? = dynamic>(core::bool t, self::bar::S% s) → dynamic {
9+
core::List<FutureOr<self::bar::S?>?> x = core::_GrowableList::_literal2<FutureOr<self::bar::S?>?>(self::foo<self::bar::S%>(s), s);
10+
}
11+
static method main() → dynamic {}

0 commit comments

Comments
 (0)