diff --git a/lib/src/dart.dart b/lib/src/dart.dart index 1ff10dc..d846916 100644 --- a/lib/src/dart.dart +++ b/lib/src/dart.dart
@@ -129,7 +129,7 @@ // To avoid potential races we copy the incremental data to a temporary file // for just this compilation. final temporaryIncrementalDill = - p.join(tempDir, '${p.basename(incrementalDillPath)}.incremental.dill'); + p.join(tempDir, '${p.basename(incrementalDillPath)}.temp'); try { if (fileExists(incrementalDillPath)) { copyFile(incrementalDillPath, temporaryIncrementalDill);
diff --git a/lib/src/entrypoint.dart b/lib/src/entrypoint.dart index 60a235e..bc9e4f9 100644 --- a/lib/src/entrypoint.dart +++ b/lib/src/entrypoint.dart
@@ -896,18 +896,13 @@ /// Checks whether or not the `.dart_tool/package_config.json` file is was /// generated by a different sdk down changes in minor versions. /// - /// For pre-releases we always consider the package_config.json out of date - /// when the version changes. - /// /// Throws [DataException], if `.dart_tool/package_config.json` the version /// changed sufficiently. void _checkPackageConfigSameDartSdk() { final generatorVersion = packageConfig.generatorVersion; if (generatorVersion == null || generatorVersion.major != sdk.version.major || - generatorVersion.minor != sdk.version.minor || - generatorVersion.isPreRelease || - sdk.version.isPreRelease) { + generatorVersion.minor != sdk.version.minor) { dataError('The sdk was updated since last package resolution. Please run ' '"$topLevelProgram pub get" again.'); }
diff --git a/test/get/git/check_out_test.dart b/test/get/git/check_out_test.dart index 6c3025e..ae766a0 100644 --- a/test/get/git/check_out_test.dart +++ b/test/get/git/check_out_test.dart
@@ -41,7 +41,7 @@ ]).validate(); expect(packageSpec('foo'), isNotNull); - }, skip: true); + }); test('checks out a package from Git using non-json YAML', () async { ensureGit();