Include 'do' in list of reserved names
Bug: b/141286447
Change-Id: I4735b32a26b85b84db38fb09a2a13cdc5706e69c
diff --git a/src/main/java/com/android/tools/r8/utils/SymbolGenerationUtils.java b/src/main/java/com/android/tools/r8/utils/SymbolGenerationUtils.java
index ea895e9..7ade0e8 100644
--- a/src/main/java/com/android/tools/r8/utils/SymbolGenerationUtils.java
+++ b/src/main/java/com/android/tools/r8/utils/SymbolGenerationUtils.java
@@ -19,7 +19,8 @@
public static Set<String> RESERVED_NAMES =
Sets.newHashSet(
- "boolean", "byte", "char", "double", "float", "int", "long", "short", "void", "it", "by");
+ "boolean", "byte", "char", "double", "float", "int", "long", "short", "void", "it", "by",
+ "do");
// These letters are used not creating fresh names to output and not for parsing dex/class files.
private static final char[] IDENTIFIER_CHARACTERS =