Skip to content

Commit

Permalink
Version 2.13.0-220.0.dev
Browse files Browse the repository at this point in the history
Merge commit '579ae24fcd0af1162aebdb287bfd46b658f61890' into 'dev'
  • Loading branch information
Dart CI committed Apr 9, 2021
2 parents f79253a + 579ae24 commit 7379283
Show file tree
Hide file tree
Showing 317 changed files with 3,947 additions and 2,465 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 2.14.0

### Core libraries

#### `dart:core`

* The native `DateTime` class now better handles local time around
daylight saving changes that are not precisely one hour.
(No change on the Web which uses the JavaScript `Date` object.)

## 2.13.0

### Language
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ abstract class FlowAnalysis<Node extends Object, Statement extends Node,
/// Return `true` if the current state is reachable.
bool get isReachable;

TypeOperations<Variable, Type> get typeOperations;

/// Call this method after visiting an "as" expression.
///
/// [subExpression] should be the expression to which the "as" check was
Expand Down Expand Up @@ -1004,6 +1006,9 @@ class FlowAnalysisDebug<Node extends Object, Statement extends Node,
bool get isReachable =>
_wrap('isReachable', () => _wrapped.isReachable, isQuery: true);

@override
TypeOperations<Variable, Type> get typeOperations => _wrapped.typeOperations;

@override
void asExpression_end(Expression subExpression, Type type) {
_wrap('asExpression_end($subExpression, $type)',
Expand Down Expand Up @@ -3407,6 +3412,7 @@ class _FlowAnalysisImpl<Node extends Object, Statement extends Node,
Expression extends Object, Variable extends Object, Type extends Object>
implements FlowAnalysis<Node, Statement, Expression, Variable, Type> {
/// The [TypeOperations], used to access types, and check subtyping.
@override
final TypeOperations<Variable, Type> typeOperations;

/// Stack of [_FlowContext] objects representing the statements and
Expand Down Expand Up @@ -4402,6 +4408,9 @@ class _LegacyTypePromotion<Node extends Object, Statement extends Node,
@override
bool get isReachable => true;

@override
TypeOperations<Variable, Type> get typeOperations => _typeOperations;

@override
void asExpression_end(Expression subExpression, Type type) {}

Expand Down

0 comments on commit 7379283

Please sign in to comment.