Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: tools/testing/dart/compiler_configuration.dart

Issue 1751253002: Address static warning in precompiler compiler configuration. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/compiler_configuration.dart
diff --git a/tools/testing/dart/compiler_configuration.dart b/tools/testing/dart/compiler_configuration.dart
index d4153c2d9b43d711300cfeb70ef5a3b8bde8dec2..47949922052d23ac4b0e168cbbd86465cff583c0 100644
--- a/tools/testing/dart/compiler_configuration.dart
+++ b/tools/testing/dart/compiler_configuration.dart
@@ -381,7 +381,7 @@ class PrecompilerCompilerConfiguration extends CompilerConfiguration {
shared = '-dynamiclib';
libname = 'libprecompiled.dylib';
} else {
- throw "Platform not supported: ${Platform.name}";
+ throw "Platform not supported: ${Platform.operatingSystem}";
}
if (arch == 'x64') {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698