Skip to content

Commit 339faf8

Browse files
authored
Move to alpha version of analyzer (#1545)
* Upgrade analyzer and adjust tests. * Switch to 0.31.0-alpha.2 * Switch appveyor to dev
1 parent 6c14fd2 commit 339faf8

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# BSD-style license that can be found in the LICENSE file.
44

55
install:
6-
- ps: wget https://gsdview.appspot.com/dart-archive/channels/stable/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
6+
- ps: wget https://gsdview.appspot.com/dart-archive/channels/dev/raw/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
77
- cmd: echo "Unzipping dart-sdk..."
88
- cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
99
- set PATH=%PATH%;C:\tools\dart-sdk\bin

pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ packages:
66
name: analyzer
77
url: "https://pub.dartlang.org"
88
source: hosted
9-
version: "0.30.0+4"
9+
version: "0.31.0-alpha.2"
1010
ansicolor:
1111
description:
1212
name: ansicolor
@@ -78,7 +78,7 @@ packages:
7878
name: front_end
7979
url: "https://pub.dartlang.org"
8080
source: hosted
81-
version: "0.1.0-alpha.4.1"
81+
version: "0.1.0-alpha.7"
8282
glob:
8383
description:
8484
name: glob
@@ -132,7 +132,7 @@ packages:
132132
name: kernel
133133
url: "https://pub.dartlang.org"
134134
source: hosted
135-
version: "0.3.0-alpha.1.1"
135+
version: "0.3.0-alpha.4"
136136
logging:
137137
description:
138138
name: logging

pubspec.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ version: 0.14.2-dev
44
author: Dart Team <[email protected]>
55
description: A documentation generator for Dart.
66
homepage: https://github.com/dart-lang/dartdoc
7+
# For development, recommend 1.25.0-dev.0.0 or higher to allow
8+
# dartanalyzer to work on dartdoc itself.
79
environment:
810
sdk: '>=1.23.0-dev.11.5 <2.0.0'
911
dependencies:
10-
analyzer: ^0.30.0
12+
analyzer: 0.31.0-alpha.2
1113
args: ^0.13.0
1214
collection: ^1.2.0
1315
html: '>=0.12.1 <0.14.0'

test/model_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ String topLevelFunction(int param1, bool param2, Cool coolBeans,
14141414
'dart.core',
14151415
isTrue);
14161416
expect(ExtraSpecialListLength.oneLineDoc == '', isFalse);
1417-
}, skip: 'Passes on Analyzer 0.31.0+');
1417+
});
14181418

14191419
test('split inheritance with explicit setter works', () {
14201420
expect(implicitGetterExplicitSetter.getter.isInherited, isTrue);

testing/test_package_docs/index.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5623,7 +5623,7 @@
56235623
"qualifiedName": "fake.SpecialList.[]",
56245624
"href": "fake/SpecialList/operator_get.html",
56255625
"type": "method",
5626-
"overriddenDepth": 0,
5626+
"overriddenDepth": 1,
56275627
"enclosedBy": {
56285628
"name": "SpecialList",
56295629
"type": "class"
@@ -5634,7 +5634,7 @@
56345634
"qualifiedName": "fake.SpecialList.[]=",
56355635
"href": "fake/SpecialList/operator_put.html",
56365636
"type": "method",
5637-
"overriddenDepth": 0,
5637+
"overriddenDepth": 1,
56385638
"enclosedBy": {
56395639
"name": "SpecialList",
56405640
"type": "class"

0 commit comments

Comments
 (0)