|
| 1 | +## 0.39.2 |
| 2 | +* Deprecated `AnalysisSession.typeProvider` and `AnalysisSession.typeSystem`. |
| 3 | + Please use the corresponding getters in `LibraryElement` instead. |
| 4 | +* Added new error codes: AWAIT_IN_LATE_LOCAL_VARIABLE_INITIALIZER, |
| 5 | + DEFERRED_IMPORT_OF_EXTENSION, LATE_FINAL_FIELD_WITH_CONST_CONSTRUCTOR, |
| 6 | + WRONG_TYPE_PARAMETER_VARIANCE_POSITION, and |
| 7 | + WRONG_EXPLICIT_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE. |
| 8 | +* Added new hint codes: INVALID_LANGUAGE_VERSION_OVERRIDE_AT_SIGN, |
| 9 | + INVALID_LANGUAGE_VERSION_OVERRIDE_EQUALS, |
| 10 | + INVALID_LANGUAGE_VERSION_OVERRIDE_LOWER_CASE, |
| 11 | + INVALID_LANGUAGE_VERSION_OVERRIDE_NUMBER, |
| 12 | + INVALID_LANGUAGE_VERSION_OVERRIDE_PREFIX, |
| 13 | + INVALID_LANGUAGE_VERSION_OVERRIDE_TRAILING_CHARACTERS, and |
| 14 | + INVALID_LANGUAGE_VERSION_OVERRIDE_TWO_SLASHES. |
| 15 | +* Changed error code TYPE_PARAMETER_ON_CONSTRUCTOR from a CompileTimeErrorCode |
| 16 | + to a ParserErrorCode. |
| 17 | +* Split warning code RETURN_OF_INVALID_TYPE into two warnings: |
| 18 | + RETURN_OF_INVALID_TYPE_FROM_FUNCTION and RETURN_OF_INVALID_TYPE_FROM_METHOD. |
| 19 | +* Merged warning codes CONST_WITH_ABSTRACT_CLASS and NEW_WITH_ABSTRACT_CLASS |
| 20 | + into INSTANTIATE_ABSTRACT_CLASS. |
| 21 | +* Removed warning code MIXED_RETURN_TYPES (this is now allowed by the language |
| 22 | + spec). |
| 23 | +* Bug fixes: 33745, 35677, 35677, 37504, 37936, 38506, 38551, 38734, 38813, |
| 24 | + 38878, 38953, 38992, 39051, 39115, 39117, 39120, 39192, 39250, 39267, 39380, |
| 25 | + 39389, 39402, 39407, 39476, 39509, 39532, 39563, 39618. |
| 26 | + |
1 | 27 | ## 0.39.1 |
2 | 28 | * Deprecated `DartType.substitute2()`. Use `ClassElement.instantiate()` |
3 | 29 | or `FunctionTypeAliasElement.instantiate()` instead. |
|
0 commit comments