Skip to content

Commit d85eccb

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
Prepare to publish analyzer 0.39.2.
Change-Id: I502e5256eb9f469e2d18a911624a3f8ebf0df972 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127440 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Janice Collins <jcollins@google.com>
1 parent a455e09 commit d85eccb

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

pkg/_fe_analyzer_shared/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: _fe_analyzer_shared
2-
version: 1.0.0
2+
version: 1.0.1
33
author: Dart Team <misc@dartlang.org>
44
description: Logic that is shared between the front_end and analyzer packages.
55
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/_fe_analyzer_shared

pkg/analyzer/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
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+
127
## 0.39.1
228
* Deprecated `DartType.substitute2()`. Use `ClassElement.instantiate()`
329
or `FunctionTypeAliasElement.instantiate()` instead.

pkg/analyzer/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: analyzer
2-
version: 0.39.1
2+
version: 0.39.2
33
author: Dart Team <misc@dartlang.org>
44
description: This package provides a library that performs static analysis of Dart code.
55
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer
@@ -8,7 +8,7 @@ environment:
88
sdk: '>=2.2.2 <3.0.0'
99

1010
dependencies:
11-
_fe_analyzer_shared: 1.0.0
11+
_fe_analyzer_shared: 1.0.1
1212
args: '>=0.12.1 <2.0.0'
1313
charcode: ^1.1.0
1414
collection: ^1.10.1

0 commit comments

Comments
 (0)