labath added a comment.
In D86996#2251508 <https://reviews.llvm.org/D86996#2251508>, @JDevlieghere
wrote:
> because I thought it would be silly to require you to type `script --language
> lua --` to launch the interactive Lua interpreter.
For better or worse, this is how `expr` works:
(lldb) expr --show-types
error: <user expression 0>:1:3: use of undeclared identifier 'show'
--show-types
^
error: <user expression 0>:1:8: use of undeclared identifier 'types'
--show-types
^
(lldb) expr --show-types --
Enter expressions, then terminate with an empty line to evaluate:
1: ^D
I agree that silly, but maybe the same fix should then be applied to the `expr`
command (and any other command with similar behavior).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86996/new/
https://reviews.llvm.org/D86996
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits