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

Side by Side Diff: pkg/compiler/lib/src/dart2js.dart

Issue 2100813002: Handle rti for closures. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 5 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 | « no previous file | pkg/compiler/lib/src/js_emitter/runtime_type_generator.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:convert' show UTF8, LineSplitter; 8 import 'dart:convert' show UTF8, LineSplitter;
9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr;
10 10
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 api.Diagnostic.INFO); 466 api.Diagnostic.INFO);
467 } 467 }
468 diagnosticHandler.info( 468 diagnosticHandler.info(
469 "Options $optionsImplyOutput indicate that output is expected, " 469 "Options $optionsImplyOutput indicate that output is expected, "
470 "but compilation is turned off by the option '${Flags.analyzeOnly}'.", 470 "but compilation is turned off by the option '${Flags.analyzeOnly}'.",
471 api.Diagnostic.INFO); 471 api.Diagnostic.INFO);
472 } 472 }
473 if (resolveOnly) { 473 if (resolveOnly) {
474 if (resolutionInputs.contains(resolutionOutput)) { 474 if (resolutionInputs.contains(resolutionOutput)) {
475 helpAndFail("Resolution input '${resolutionOutput}' can't be used as " 475 helpAndFail("Resolution input '${resolutionOutput}' can't be used as "
476 "resolution output. Use the '--out' option to specify another resolution " 476 "resolution output. Use the '--out' option to specify another resoluti on "
Harry Terkelsen 2016/06/27 17:07:36 nit: long line
Johnni Winther 2016/06/28 07:37:04 dartfmt!
477 "output."); 477 "output.");
478 } 478 }
479 analyzeOnly = analyzeAll = true; 479 analyzeOnly = analyzeAll = true;
480 } else if (analyzeAll) { 480 } else if (analyzeAll) {
481 analyzeOnly = true; 481 analyzeOnly = true;
482 } 482 }
483 if (!analyzeOnly) { 483 if (!analyzeOnly) {
484 if (allowNativeExtensions) { 484 if (allowNativeExtensions) {
485 helpAndFail("Option '${Flags.allowNativeExtensions}' is only supported " 485 helpAndFail("Option '${Flags.allowNativeExtensions}' is only supported "
486 "in combination with the '${Flags.analyzeOnly}' option."); 486 "in combination with the '${Flags.analyzeOnly}' option.");
487 } 487 }
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 @override 1020 @override
1021 void close() { 1021 void close() {
1022 // Do nothing. 1022 // Do nothing.
1023 } 1023 }
1024 1024
1025 @override 1025 @override
1026 void addError(errorEvent, [StackTrace stackTrace]) { 1026 void addError(errorEvent, [StackTrace stackTrace]) {
1027 // Ignore 1027 // Ignore
1028 } 1028 }
1029 } 1029 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698