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

Unified Diff: pkg/fletchc/lib/src/please_report_crash.dart

Issue 1345213002: Request bug report if fletch crashes (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Merged with cee917ffdd0c5be942d6eed129c766c1801ed9b8 Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/fletchc/lib/src/fletch_compiler_implementation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/please_report_crash.dart
diff --git a/pkg/fletchc/lib/src/please_report_crash.dart b/pkg/fletchc/lib/src/please_report_crash.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e031205e79839463c5db54b1d29fbfa697da4c96
--- /dev/null
+++ b/pkg/fletchc/lib/src/please_report_crash.dart
@@ -0,0 +1,40 @@
+// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE.md file.
+
+library fletchc.please_report_crash;
+
+bool crashReportRequested = false;
+
+// TODO(ahe): Include build ID.
+const String requestBugReportOnCompilerCrashMessage = """
+The Fletch compiler is broken.
+
+When compiling the above element, the compiler crashed. It is not
+possible to tell if this is caused by a problem in your program or
+not. Regardless, the compiler should not crash.
+
+The Fletch team would greatly appreciate if you would take a moment to
+report this problem at https://github.com/dart-lang/fletch/issues/new
+
+Please include the following information:
+
+* the name and version of your operating system
+
+* the entire message you see here (including the full stack trace
+ below as well as the source location above)
+""";
+
+// TODO(ahe): Include build ID.
+const String requestBugReportOnOtherCrashMessage = """
+The Fletch program is broken and has crashed.
+
+The Fletch team would greatly appreciate if you would take a moment to
+report this problem at https://github.com/dart-lang/fletch/issues/new
+
+Please include the following information:
+
+* the name and version of your operating system
+
+* the entire message you see here (including the full stack trace below)
+""";
« no previous file with comments | « pkg/fletchc/lib/src/fletch_compiler_implementation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698