Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify logic for typing ASSIGN nodes in TypeCheck
There's some existing logic that will put the rhs type on an ASSIGN node iff assign is valid, or the unknown type otherwise. This is pointless now because we already put the rhs type on an ASSIGN unconditionally in TypeInference. This case only triggers for code that (for whatever reason) doesn't get typed during TypeInference. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207810074
- Loading branch information