Commit 0fe82c3a authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

Update Dart SDK to `1.19.0-dev.4.0`. (#5329)

parent b314fa59
...@@ -10,7 +10,7 @@ dependencies: ...@@ -10,7 +10,7 @@ dependencies:
# We don't actually depend on 'analyzer', but 'test' and 'flutter_tools' do. # We don't actually depend on 'analyzer', but 'test' and 'flutter_tools' do.
# We pin the version of analyzer we depend on to avoid version skew across our # We pin the version of analyzer we depend on to avoid version skew across our
# packages. # packages.
analyzer: 0.27.4-alpha.19 analyzer: 0.27.5-alpha.0
flutter: flutter:
path: ../flutter path: ../flutter
...@@ -9,8 +9,9 @@ import 'package:analyzer/file_system/file_system.dart' as file_system; ...@@ -9,8 +9,9 @@ import 'package:analyzer/file_system/file_system.dart' as file_system;
import 'package:analyzer/file_system/physical_file_system.dart'; import 'package:analyzer/file_system/physical_file_system.dart';
import 'package:analyzer/plugin/options.dart'; import 'package:analyzer/plugin/options.dart';
import 'package:analyzer/source/analysis_options_provider.dart'; import 'package:analyzer/source/analysis_options_provider.dart';
import 'package:analyzer/source/embedder.dart';
import 'package:analyzer/source/error_processor.dart'; import 'package:analyzer/source/error_processor.dart';
import 'package:analyzer/src/context/builder.dart'; // ignore: implementation_imports
import 'package:analyzer/src/dart/sdk/sdk.dart'; // ignore: implementation_imports
import 'package:analyzer/src/generated/engine.dart'; // ignore: implementation_imports import 'package:analyzer/src/generated/engine.dart'; // ignore: implementation_imports
import 'package:analyzer/src/generated/error.dart'; // ignore: implementation_imports import 'package:analyzer/src/generated/error.dart'; // ignore: implementation_imports
import 'package:analyzer/src/generated/java_io.dart'; // ignore: implementation_imports import 'package:analyzer/src/generated/java_io.dart'; // ignore: implementation_imports
...@@ -99,7 +100,7 @@ class AnalysisDriver { ...@@ -99,7 +100,7 @@ class AnalysisDriver {
EmbedderYamlLocator locator = new EmbedderYamlLocator(packageMap); EmbedderYamlLocator locator = new EmbedderYamlLocator(packageMap);
if (locator.embedderYamls.isNotEmpty) { if (locator.embedderYamls.isNotEmpty) {
// Create and configure an embedded SDK. // Create and configure an embedded SDK.
EmbedderSdk sdk = new EmbedderSdk(locator.embedderYamls); EmbedderSdk sdk = new EmbedderSdk(PhysicalResourceProvider.INSTANCE, locator.embedderYamls);
// Fail fast if no URI mappings are found. // Fail fast if no URI mappings are found.
assert(sdk.libraryMap.size() > 0); assert(sdk.libraryMap.size() > 0);
sdk.analysisOptions = context.analysisOptions; sdk.analysisOptions = context.analysisOptions;
......
...@@ -39,7 +39,7 @@ dependencies: ...@@ -39,7 +39,7 @@ dependencies:
test: 0.12.15+1 test: 0.12.15+1
# Pinned in flutter_test as well. # Pinned in flutter_test as well.
analyzer: 0.27.4-alpha.19 analyzer: 0.27.5-alpha.0
dev_dependencies: dev_dependencies:
mockito: ^0.11.0 mockito: ^0.11.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment