Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 ## 1.21.0 | 1 ## 1.21.0 |
| 2 | 2 |
| 3 ### Language | 3 ### Language |
| 4 | 4 |
| 5 * Support generic methods with erasure. This feature does not introduce | |
| 6 full-fledged support for generic methods, but it bridges the gap to a | |
| 7 full implementation. It allows for declaring type parameters on methods, | |
| 8 passing actual type arguments in function and method invocations, and | |
| 9 getting static checks from the analyzer. The missing part is reification | |
| 10 of type arguments at runtime. For details please check the | |
| 11 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5 423e04a453c). | |
|
Lasse Reichstein Nielsen
2016/11/28 08:55:45
I think this is somewhat too wordy for a CHANGES e
| |
| 5 * Don't warn about switch case fallthrough if the case ends in a `rethrow` | 12 * Don't warn about switch case fallthrough if the case ends in a `rethrow` |
| 6 statement. | 13 statement. |
| 7 * Also don't warn if the entire switch case is wrapped in braces - as long as | 14 * Also don't warn if the entire switch case is wrapped in braces - as long as |
| 8 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. | 15 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. |
| 9 * Allow `=` as well as `:` as separator for named parameter default values. | 16 * Allow `=` as well as `:` as separator for named parameter default values. |
| 10 | 17 |
| 11 ### Core library changes | 18 ### Core library changes |
| 12 | 19 |
| 13 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. | 20 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. |
| 14 | 21 |
| (...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1372 they will keep the Dart process alive until they time out. This fixes the | 1379 they will keep the Dart process alive until they time out. This fixes the |
| 1373 handling of persistent connections. Previously, the client would shut down | 1380 handling of persistent connections. Previously, the client would shut down |
| 1374 immediately after a request. | 1381 immediately after a request. |
| 1375 | 1382 |
| 1376 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1383 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1377 default. The new `autoCompress` property can be set to `true` to re-enable | 1384 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1378 compression. | 1385 compression. |
| 1379 | 1386 |
| 1380 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1387 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1381 which controls how it resolves `package:` URIs. | 1388 which controls how it resolves `package:` URIs. |
| OLD | NEW |