You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Unlike the other getters, it does _not_ raise an error for unknown ast.Node types. At the base, the recursion will hit a non-BinaryExpr type,
101
101
// either BasicLit or other, so it's not an error case. It will only error if `strconv.Unquote` errors. This matters, because there's
102
102
// currently functionality that relies on error values being returned by GetString if and when it hits a non-basiclit string node type,
103
-
// hence for cases where recursion is needed, we use this separate function, so that we can still be backwards compatbile.
103
+
// hence for cases where recursion is needed, we use this separate function, so that we can still be backwards compatible.
104
104
//
105
105
// This was added to handle a SQL injection concatenation case where the injected value is infixed between two strings, not at the start or end. See example below
0 commit comments