This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request bug report if fletch crashes
Fixes #87 R=johnniwinther@google.com Review URL: https://codereview.chromium.org/1345213002 .
- Loading branch information
1 parent
cee917f
commit aa2c3c4
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
"""; |