-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Smart asserts #2367
Copy link
Copy link
Closed
Labels
A-codegenArea: Code generationArea: Code generationA-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationA-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.Call for participation: Hard difficulty. Experience needed to fix: A lot.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It would be great if when asserts failed they printed something more useful than the offending line. Currently they print something like:
It'd be way nicer if they printed the values of variables that they use and the results of the functions they call: