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
Add deprecated warnings for same-type casts in SyntaxProtocol
- Implement overloads for `is`, `as`, and `cast` methods in SyntaxProtocol to handle same-type conversions.
- Mark these overloaded methods as deprecated with a warning message that the cast will always succeed.
- Update the codebase to eliminate a redundant casts.
- Description: `is`, `as`, and `cast` overloads on `SyntaxProtocol` with same-type conversions are marked as deprecated. The deprecated methods emit a warning indicating the cast will always succeed.
0 commit comments