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

Side by Side Diff: tests/compiler/dart2js/options_helper.dart

Issue 1851753002: Enable conditional directives by default. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix analyzer test. Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/language/config_import_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library options_helper; 5 library options_helper;
6 6
7 import 'package:compiler/src/options.dart'; 7 import 'package:compiler/src/options.dart';
8 export 'package:compiler/src/options.dart'; 8 export 'package:compiler/src/options.dart';
9 9
10 class MockDiagnosticOptions implements DiagnosticOptions { 10 class MockDiagnosticOptions implements DiagnosticOptions {
11 const MockDiagnosticOptions(); 11 const MockDiagnosticOptions();
12 12
13 bool get fatalWarnings => false; 13 bool get fatalWarnings => false;
14 bool get terseDiagnostics => false; 14 bool get terseDiagnostics => false;
15 bool get suppressWarnings => false; 15 bool get suppressWarnings => false;
16 bool get suppressHints => false; 16 bool get suppressHints => false;
17 bool get showAllPackageWarnings => false; 17 bool get showAllPackageWarnings => false;
18 bool get hidePackageWarnings => true; 18 bool get hidePackageWarnings => true;
19 bool showPackageWarningsFor(Uri uri) => false; 19 bool showPackageWarningsFor(Uri uri) => false;
20 } 20 }
21 21
22 class MockParserOptions implements ParserOptions { 22 class MockParserOptions implements ParserOptions {
23 bool get enableConditionalDirectives => true;
24 bool get enableGenericMethodSyntax => true; 23 bool get enableGenericMethodSyntax => true;
25 } 24 }
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/language/config_import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698