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

Unified Diff: compiler/java/com/google/dart/compiler/CommandLineOptions.java

Issue 8451002: Tweak shouldWarnOnNoSuchType() usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | compiler/java/com/google/dart/compiler/DartCompilerMainContext.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/CommandLineOptions.java
diff --git a/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
index 62976f869f464f377e108bea0f8a7ba5893c2a70..95dec3357750c4e45874088e30de6e074c15fc09 100644
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
@@ -41,10 +41,6 @@ public class CommandLineOptions {
@Option(name = "--expose_core_impl", usage = "Automatic import of dart:coreimpl library")
private boolean exposeCoreImpl = false;
- @Option(name = "--warn_no_such_type",
- usage = "Treat some type checks as warnings\n instead of fatal errors")
- private boolean shouldWarnOnNoSuchType = false;
-
@Option(name = "--enable_type_checks",
usage = "Generate runtime type checks")
private boolean developerModeChecks = false;
@@ -277,14 +273,6 @@ public class CommandLineOptions {
}
/**
- * Returns returns true if some resolver static errors should be reported as type
- * warnings instead of fatal errors.
- */
- public boolean shouldWarnOnNoSuchType() {
- return shouldWarnOnNoSuchType;
- }
-
- /**
* Returns whether type errors are fatal.
*/
public boolean typeErrorsAreFatal() {
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/DartCompilerMainContext.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698