Chromium Code Reviews| Index: pkg/kernel/lib/text/ast_to_text.dart |
| diff --git a/pkg/kernel/lib/text/ast_to_text.dart b/pkg/kernel/lib/text/ast_to_text.dart |
| index 8fa2c67d26984ca5cb5b9f05713201a24da73905..2863bdd867ec489d913fce9d7df0c18199687c15 100644 |
| --- a/pkg/kernel/lib/text/ast_to_text.dart |
| +++ b/pkg/kernel/lib/text/ast_to_text.dart |
| @@ -499,7 +499,11 @@ class Printer extends Visitor<Null> { |
| if (function.asyncMarker != AsyncMarker.Sync) { |
| writeSpaced(getAsyncMarkerKeyword(function.asyncMarker)); |
| } |
| - if (!function.debuggable) writeSpaced("/* not debuggable */"); |
| + if (function.originalAsyncMarker != AsyncMarker.Sync) { |
| + writeSpaced("/* originally "); |
| + writeSpaced(getAsyncMarkerKeyword(function.asyncMarker)); |
|
kustermann
2017/02/17 13:28:08
asyncMarker -> originalAsyncMarker
jensj
2017/02/20 09:06:29
Done.
|
| + writeSpaced("*/"); |
| + } |
| if (function.body != null) { |
| writeFunctionBody(function.body, terminateLine: terminateLine); |
| } else if (terminateLine) { |