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
As of #1227 we are deprecating constrain for assert. Since we don't want to break all existing Noir programs, we will for now just add a deprecation warning whenever constrain is used to tell folks to use assert.
Proposed solution
Add deprecation warning
Alternatives considered
No response
Additional context
No response
Submission Checklist
Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
The text was updated successfully, but these errors were encountered:
Ah, we're in a bit of a tangle. They won't be able to fix the tests without fixing stldlib. Should I back my stdlib changes out, and leave that to the scope of #1275?
Oh actually that's not true, because they won't encounter the depreciation warning because it's not merged yet 😅. It's just my PR that's blocked since the tests won't pass.
Problem
As of #1227 we are deprecating
constrain
forassert
. Since we don't want to break all existing Noir programs, we will for now just add a deprecation warning whenever constrain is used to tell folks to useassert
.Proposed solution
Add deprecation warning
Alternatives considered
No response
Additional context
No response
Submission Checklist
The text was updated successfully, but these errors were encountered: