diff options
author | cushon <cushon@google.com> | 2019-10-14 14:14:41 -0700 |
---|---|---|
committer | Kurt Alfred Kluever <kak@google.com> | 2019-10-15 08:43:29 -0400 |
commit | bf52692b4f29beb5824a2f8152f56c3c3d8f9e08 (patch) | |
tree | b0371d5beac77151b498b4f2c772aa7295153bee /java/com/google/turbine/types/Canonicalize.java | |
parent | c30f61b6b37252fe8dafb6aca226b697d618ef7e (diff) | |
download | turbine-bf52692b4f29beb5824a2f8152f56c3c3d8f9e08.tar.gz |
Handle more ERROR_TYs in canonicalization pass
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=274657681
Diffstat (limited to 'java/com/google/turbine/types/Canonicalize.java')
-rw-r--r-- | java/com/google/turbine/types/Canonicalize.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/turbine/types/Canonicalize.java b/java/com/google/turbine/types/Canonicalize.java index 3822047..22df069 100644 --- a/java/com/google/turbine/types/Canonicalize.java +++ b/java/com/google/turbine/types/Canonicalize.java @@ -290,6 +290,7 @@ public class Canonicalize { return instantiateWildTy(mapping, (WildTy) type); case PRIM_TY: case VOID_TY: + case ERROR_TY: return type; case CLASS_TY: return instantiateClassTy(mapping, (ClassTy) type); |