| 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() {
|
|
|