[Bug 48323] New: Attempting to redefine a variable fails silently

Bug ID 48323
Summary Attempting to redefine a variable fails silently
Product lldb
Version unspecified
Hardware Macintosh
OS MacOS X
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter rgovostes@gmail.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

Raphael Isemann changed bug 48323

What | Removed | Added |

Comment # 1 on bug 48323 from Raphael Isemann

Fixed in [https://reviews.llvm.org/D89310](https://reviews.llvm.org/D89310)

FWIW, the reason why I went with (i) is that it's technically not something one
can do in C/C++ (i.e., redefining a variable in the same scope). You can always
achieve (ii) by just assigning a new value to the existing $x.