Skip to content

Commit f732450

Browse files
authored
1 parent 1bd6a55 commit f732450

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

src/content/guides/language/evolution.md

+16-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Dart language evolution
33
short-title: Language evolution
44
description: Notable changes and additions to the Dart programming language.
5-
lastVerified: 2024-05-14
5+
lastVerified: 2024-08-04
66
---
77

88
This page lists notable changes and additions to the
@@ -42,6 +42,18 @@ on the Dart language GitHub repo.
4242
4343
## Changes in each release
4444
45+
### Dart 3.5
46+
_Release expected in August 2024_
47+
48+
Dart 3.5 added no new language features, but made minor changes to the
49+
context considered during type inference.
50+
These include the following, non-language versioned changes:
51+
52+
* When the context for an `await` expression is `dynamic`,
53+
the context for the operand of expression is now `FutureOr<_>`.
54+
* When the context for an entire if-null expression (`e1 ?? e2`) is `dynamic`,
55+
the context for `e2` is now the static type of `e1`.
56+
4557
### Dart 3.4
4658
_Released 14 May 2024_
4759
| [Dart 3.4 announcement](https://medium.com/dartlang/dart-3-4-bd8d23b4462a)
@@ -51,14 +63,14 @@ Dart 3.4 made several improvements related to type analysis. These include:
5163
* Improvements to the type analysis of conditional expressions,
5264
if-null expressions and assignments, and switch expressions.
5365
* Aligning the pattern context type schema for cast patterns with the spec.
54-
* Making the type schema for the null-aware spread operator (`...?`) nullable for maps
55-
and set literals, to match the behavior of list literals.
66+
* Making the type schema for the null-aware spread operator (`...?`)
67+
nullable for maps and set literals, to match the behavior of list literals.
5668

5769
### Dart 3.3
5870
_Released 15 February 2024_
5971
| [Dart 3.3 announcement](https://medium.com/dartlang/dart-3-3-325bf2bf6c13)
6072

61-
Dart 3.3 added some enchancements to the language:
73+
Dart 3.3 added some enhancements to the language:
6274

6375
* [Extension types][] are a new feature in Dart that allow zero-cost wrapping
6476
of an existing type. They are similar to wrapper classes and extension methods,

0 commit comments

Comments
 (0)