Skip to content

Commit 72ee804

Browse files
committed
ErrorHandler typedef fix.
Lo and behold this harkens back to lint request #1 (https://github.com/dart-lang/linter/issues/1). Could have saved me a headache! [email protected] Review URL: https://codereview.chromium.org//1367723003 .
1 parent dfe6528 commit 72ee804

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pkg/analyzer/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.26.1+5
2+
* Plugin configuration `ErrorHandler` typedef API fix.
3+
14
## 0.26.1+4
25
* Provisional (internal) support for plugin configuration via `.analysis_options`.
36

pkg/analyzer/lib/src/plugin/plugin_configuration.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ PluginInfo _processPluginMapping(dynamic name, dynamic details) {
3030
return null;
3131
}
3232

33-
typedef ErrorHandler(Exception);
33+
/// A callback for error handling.
34+
typedef ErrorHandler(Exception e);
3435

3536
/// Describes plugin configuration information as extracted from an
3637
/// analysis options map.

pkg/analyzer/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: analyzer
2-
version: 0.26.1+4
2+
version: 0.26.1+5
33
author: Dart Team <[email protected]>
44
description: Static analyzer for Dart.
55
homepage: http://www.dartlang.org

0 commit comments

Comments
 (0)