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

Unified Diff: lib/src/compiler.dart

Issue 1392383002: further refactoring: merge RestrictedRules into TypeRules (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase Created 5 years, 2 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 | « lib/src/checker/rules.dart ('k') | lib/strong_mode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler.dart
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
index d4ed6db93be83ed773752e6b185399ce40a60bc8..819451840f309b9434d9019e5edd5548f99202a2 100644
--- a/lib/src/compiler.dart
+++ b/lib/src/compiler.dart
@@ -352,8 +352,7 @@ abstract class AbstractCompiler {
: context = context,
options = options,
checker = new CodeChecker(
- new RestrictedRules(context.typeProvider,
- options: options.strongOptions),
+ new TypeRules(context.typeProvider, options: options.strongOptions),
reporter ?? AnalysisErrorListener.NULL_LISTENER);
String get outputDir => options.codegenOptions.outputDir;
« no previous file with comments | « lib/src/checker/rules.dart ('k') | lib/strong_mode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698