OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file |
| 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.md file. |
| 4 |
| 5 library fletchc.please_report_crash; |
| 6 |
| 7 bool crashReportRequested = false; |
| 8 |
| 9 // TODO(ahe): Include build ID. |
| 10 const String requestBugReportOnCompilerCrashMessage = """ |
| 11 The Fletch compiler is broken. |
| 12 |
| 13 When compiling the above element, the compiler crashed. It is not |
| 14 possible to tell if this is caused by a problem in your program or |
| 15 not. Regardless, the compiler should not crash. |
| 16 |
| 17 The Fletch team would greatly appreciate if you would take a moment to |
| 18 report this problem at https://github.com/dart-lang/fletch/issues/new |
| 19 |
| 20 Please include the following information: |
| 21 |
| 22 * the name and version of your operating system |
| 23 |
| 24 * the entire message you see here (including the full stack trace |
| 25 below as well as the source location above) |
| 26 """; |
| 27 |
| 28 // TODO(ahe): Include build ID. |
| 29 const String requestBugReportOnOtherCrashMessage = """ |
| 30 The Fletch program is broken and has crashed. |
| 31 |
| 32 The Fletch team would greatly appreciate if you would take a moment to |
| 33 report this problem at https://github.com/dart-lang/fletch/issues/new |
| 34 |
| 35 Please include the following information: |
| 36 |
| 37 * the name and version of your operating system |
| 38 |
| 39 * the entire message you see here (including the full stack trace below) |
| 40 """; |
OLD | NEW |