diff --git a/pkg/front_end/lib/src/api_prototype/compiler_options.dart b/pkg/front_end/lib/src/api_prototype/compiler_options.dart index 623ec3604f1..f011b3bf54c 100644 --- a/pkg/front_end/lib/src/api_prototype/compiler_options.dart +++ b/pkg/front_end/lib/src/api_prototype/compiler_options.dart @@ -322,7 +322,7 @@ class CompilerOptions { if (sdkSummary != other.sdkSummary) return false; if (!equalMaps(declaredVariables, other.declaredVariables)) return false; if (fileSystem != other.fileSystem) return false; - if (compileSdk != compileSdk) return false; + if (compileSdk != other.compileSdk) return false; // chaseDependencies aren't used anywhere, so ignored here. // targetPatches aren't used anywhere, so ignored here. if (!equalMaps(