Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit 136f12e

Browse files
committed
Update to support analyzer version 0.28.0.
[email protected] Review URL: https://codereview.chromium.org//2287153002 .
1 parent 5839d18 commit 136f12e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/src/dart_sdk.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import 'package:analyzer/src/generated/java_io.dart';
1515
import 'package:analyzer/src/generated/sdk.dart';
1616
import 'package:analyzer/src/generated/sdk_io.dart' show DirectoryBasedDartSdk;
1717
import 'package:analyzer/src/generated/source.dart';
18+
import 'package:analyzer/src/summary/idl.dart';
1819
import 'package:cli_util/cli_util.dart' as cli_util;
1920

2021
/// Attempts to provide the current Dart SDK directory.
@@ -173,6 +174,9 @@ class MockDartSdk implements DartSdk {
173174
Source fromFileUri(Uri uri) {
174175
throw new UnsupportedError('MockDartSdk.fromFileUri');
175176
}
177+
178+
@override
179+
PackageBundle getLinkedBundle() => null;
176180
}
177181

178182
class _MockSdkSource implements UriAnnotatedSource {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage: https://github.com/dart-lang/code-transformers
66
environment:
77
sdk: '>=1.0.0 <2.0.0'
88
dependencies:
9-
analyzer: '>=0.27.3-alpha.7 <0.28.0'
9+
analyzer: '>=0.27.3-alpha.7 <0.29.0'
1010
barback: '>=0.14.2 <0.16.0'
1111
cli_util: '>=0.0.1 <0.1.0'
1212
path: '>=0.9.0 <2.0.0'

0 commit comments

Comments
 (0)