codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Python: Add `toString` method to `StrConst`

Open fcasal opened this issue 3 years ago • 1 comments

Override StrConst's toString to show the correct type on the AST viewer. Currently, the AST shows the type "Str", which does not exist.

Fixes https://github.com/github/codeql/issues/9833.

fcasal avatar Jul 19 '22 13:07 fcasal

@tausbn could you add the no change note required tag so that the tests run?

fcasal avatar Jul 27 '22 11:07 fcasal

Thank you for your submission. After discussing this in the Python team, in the end, we went for a slightly less invasive solution to this issue: #9852.

tausbn avatar Aug 22 '22 08:08 tausbn