Chromium Code Reviews| Index: frog/leg/leg.dart |
| diff --git a/frog/leg/leg.dart b/frog/leg/leg.dart |
| index 1a18770bcf452e587431ec7b49c3b7dd425e70be..8656fccb9aa664fc8e5ecbbf2bd5ebf5bdf699b3 100644 |
| --- a/frog/leg/leg.dart |
| +++ b/frog/leg/leg.dart |
| @@ -25,6 +25,6 @@ |
| final bool GENERATE_SSA_TRACE = false; |
| -void unreachable() { |
| - throw const Exception("Internal Error (Leg): UNREACHABLE"); |
| +void unreachable([message = "UNREACHABLE"]) { |
| + throw new Exception("Internal Error (Leg): $message"); |
| } |