Skip to content

Commit

Permalink
#2313. Fix expected static type in upper_bound_A01_t05.dart (#2314)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov authored Oct 17, 2023
1 parent 9d347fd commit e705ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LanguageFeatures/Extension-types/upper_bound_A01_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ main() {
v2.expectStaticType<Exactly<Object?>>();

var v3 = 2 > 1 ? ET3("String") : ET4(3);
v3.expectStaticType<Exactly<Object?>>();
v3.expectStaticType<Exactly<Object>>();

var v4 = 2 > 1 ? ET1<String>("String") : ET3("String");
v4.expectStaticType<Exactly<ET1<String>>>();
Expand Down

0 comments on commit e705ec1

Please sign in to comment.