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

Side by Side Diff: pkg/dev_compiler/web/main.dart

Issue 2329493002: Fix error message (Closed)
Patch Set: Created 4 years, 3 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 | « pkg/dev_compiler/lib/src/compiler/command.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 @JS() 6 @JS()
7 library dev_compiler.web.main; 7 library dev_compiler.web.main;
8 8
9 import 'dart:async'; 9 import 'dart:async';
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } else { 53 } else {
54 // Anything else is likely a compiler bug. 54 // Anything else is likely a compiler bug.
55 // 55 //
56 // --unsafe-force-compile is a bit of a grey area, but it's nice not to 56 // --unsafe-force-compile is a bit of a grey area, but it's nice not to
57 // crash while compiling 57 // crash while compiling
58 // (of course, output code may crash, if it had errors). 58 // (of course, output code may crash, if it had errors).
59 // 59 //
60 messageHandler(""); 60 messageHandler("");
61 messageHandler("We're sorry, you've found a bug in our compiler."); 61 messageHandler("We're sorry, you've found a bug in our compiler.");
62 messageHandler("You can report this bug at:"); 62 messageHandler("You can report this bug at:");
63 messageHandler(" https://github.com/dart-lang/dev_compiler/issues"); 63 messageHandler(
64 " https://github.com/dart-lang/sdk/issues/labels/area-dev-compiler");
64 messageHandler(""); 65 messageHandler("");
65 messageHandler( 66 messageHandler(
66 "Please include the information below in your report, along with"); 67 "Please include the information below in your report, along with");
67 messageHandler( 68 messageHandler(
68 "any other information that may help us track it down. Thanks!"); 69 "any other information that may help us track it down. Thanks!");
69 messageHandler(""); 70 messageHandler("");
70 messageHandler(" dartdevc arguments: " + args.join(' ')); 71 messageHandler(" dartdevc arguments: " + args.join(' '));
71 messageHandler(""); 72 messageHandler("");
72 messageHandler("```"); 73 messageHandler("```");
73 messageHandler(error); 74 messageHandler(error);
74 messageHandler(stackTrace); 75 messageHandler(stackTrace);
75 messageHandler("```"); 76 messageHandler("```");
76 return 70; 77 return 70;
77 } 78 }
78 } 79 }
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/command.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698