mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: PrintAstNode: tolerate elements without toString
This commit is contained in:
@@ -68,7 +68,7 @@ class PrintAstNode extends TPrintAstNode {
|
||||
}
|
||||
|
||||
private string prettyPrint(Locatable e) {
|
||||
result = "[" + concat(e.getPrimaryQlClasses(), ", ") + "] " + e
|
||||
result = "[" + concat(e.getPrimaryQlClasses(), ", ") + "] " + concat(e.toString())
|
||||
}
|
||||
|
||||
private class Unresolved extends Locatable {
|
||||
|
||||
Reference in New Issue
Block a user