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

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

Issue 2521073003: Remove the ability in dart2js to turn off syntax-only generic methods. (Closed)
Patch Set: eernst Created 4 years 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 | « pkg/compiler/tool/perf.dart ('k') | tests/compiler/dart2js/parser_helper.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
22 class MockParserOptions implements ParserOptions {
23 bool get enableGenericMethodSyntax => true;
24 }
OLDNEW
« no previous file with comments | « pkg/compiler/tool/perf.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698