mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
Merges handle_let.cpp and handle_variable.cpp into a single file in order to take better advantage of commonalities. Both still have a bunch of kludges, and there's still divergent handling in handle_binding_pattern that will yield different results. However, this fixes some things about `let` like starting to make use of global_init (imperfectly, due to how VarStorage works, I grant), and in particular adding `let` names to a name scope, not just lexical lookup.