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
If an assertion fails, the resulting error message attempts to capture the failing expression that it detected. For some reason it only takes up to 3 elements of that expression.
Additionally: because it only copies the expression out after running the assert, it can fail to capture an expression correctly if it modifies the block:
I never used ASSERT, and I do not want to change this habit. I do understand that this property is a disadvantage, but I do not think this can be corrected easily, and it can certainly be circumvented without much hassle.
The text was updated successfully, but these errors were encountered:
Submitted by: fork
If an assertion fails, the resulting error message attempts to capture the failing expression that it detected. For some reason it only takes up to 3 elements of that expression.
Additionally: because it only copies the expression out after running the assert, it can fail to capture an expression correctly if it modifies the block:
Imported from: CureCode [ Version: r3 master Type: Bug Platform: All Category: Unspecified Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#2231
Comments:
I never used ASSERT, and I do not want to change this habit. I do understand that this property is a disadvantage, but I do not think this can be corrected easily, and it can certainly be circumvented without much hassle.
The text was updated successfully, but these errors were encountered: