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
to better align with rescript's new terminology throw (raise being deprecated), the same should be done for annotations. rename @raises to @throws and deprecate @raises
@nojaf nope I didn't and it'd indeed makes sense, good catch @tx46 !
I'm not sure how we can deprecate an annotation, but adding a new one and documenting it primarily would make sense, we could then stop supporting the @raises in a few versions.
Activity
nojaf commentedon Jul 20, 2025
@tsnobip, didn't you do this while renaming raise to throw?
tsnobip commentedon Jul 25, 2025
@nojaf nope I didn't and it'd indeed makes sense, good catch @tx46 !
I'm not sure how we can deprecate an annotation, but adding a new one and documenting it primarily would make sense, we could then stop supporting the
@raisesin a few versions.cknitt commentedon Oct 19, 2026
Done in #7932: reanalyze now accepts
@throws(as well as@throw,@raisesand@raise) and suggests@throwsin its annotations. Closing.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kr4cjoUi2f5VpMvE6wT9bo