From 3191af1332c04db422572d2dc2c7d664b89cda08 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Mon, 9 Mar 2020 20:09:47 -0700 Subject: [PATCH] [flutter_tools] add more information to obfuscate option documentation (#52282) --- packages/flutter_tools/lib/src/runner/flutter_command.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/runner/flutter_command.dart b/packages/flutter_tools/lib/src/runner/flutter_command.dart index d0a6ab9145..e67c3ecbae 100644 --- a/packages/flutter_tools/lib/src/runner/flutter_command.dart +++ b/packages/flutter_tools/lib/src/runner/flutter_command.dart @@ -400,7 +400,12 @@ abstract class FlutterCommand extends Command { 'mapping between the values and the original identifiers is stored in the ' 'symbol map created in the specified directory. For an app built with this ' 'flag, the \'flutter symbolize\' command with the right program ' - 'symbol file is required to obtain a human readable stack trace.', + 'symbol file is required to obtain a human readable stack trace.\n\n' + 'Because all identifiers are renamed, methods like Object.runtimeType, ' + 'Type.toString, Enum.toString, Stacktrace.toString, Symbol.toString ' + '(for constant symbols or those generated by runtime system) will ' + 'return obfuscated results. Any code or tests that rely on exact names ' + 'will break.' ); }