Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(semantic):
SymbolTable::set_name
return old name (#7869)
`SymbolTable::set_name` return old symbol name. `set_name` is marked `#[inline]`, so where the caller does not use the old name, getting it should be optimized out by the compiler. So it makes the method more flexible, at no cost.
- Loading branch information