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. Allow declaring method type | |
|
floitsch
2016/11/28 16:34:34
Support generic method syntax. The generic argumen
| |
| 6 parameters, passing type arguments in invocations, and getting static | |
| 7 checks. Does not reify type arguments at runtime. For details, check the | |
| 8 [informal specification](https://gist.github.com/eernstg/4353d7b4f669745bed3a5 423e04a453c). | |
| 5 * Don't warn about switch case fallthrough if the case ends in a `rethrow` | 9 * Don't warn about switch case fallthrough if the case ends in a `rethrow` |
| 6 statement. | 10 statement. |
| 7 * Also don't warn if the entire switch case is wrapped in braces - as long as | 11 * 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`. | 12 the block ends with a `break`, `continue`, `rethrow`, `return` or `throw`. |
| 9 * Allow `=` as well as `:` as separator for named parameter default values. | 13 * Allow `=` as well as `:` as separator for named parameter default values. |
| 10 | 14 |
| 11 ### Core library changes | 15 ### Core library changes |
| 12 | 16 |
| 13 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. | 17 * `dart:core`: `Set.difference` now takes a `Set<Object>` as argument. |
| 14 | 18 |
| (...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 | 1376 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 | 1377 handling of persistent connections. Previously, the client would shut down |
| 1374 immediately after a request. | 1378 immediately after a request. |
| 1375 | 1379 |
| 1376 * **Breaking change:** `HttpServer` no longer compresses all traffic by | 1380 * **Breaking change:** `HttpServer` no longer compresses all traffic by |
| 1377 default. The new `autoCompress` property can be set to `true` to re-enable | 1381 default. The new `autoCompress` property can be set to `true` to re-enable |
| 1378 compression. | 1382 compression. |
| 1379 | 1383 |
| 1380 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, | 1384 * `dart:isolate`: `Isolate.spawnUri` added the optional `packageRoot` argument, |
| 1381 which controls how it resolves `package:` URIs. | 1385 which controls how it resolves `package:` URIs. |
| OLD | NEW |