1
0
Fork
You've already forked latte
0

Deny or warn assert! calls in reactive context #1

Open
opened 2026年03月18日 16:40:25 +01:00 by yvt · 0 comments
Owner
Copy link

All operations (except for assigning to bindings) are assumed pure in the reactive context, so all calls to assert! are optimized out and will not have the intended effect of enforcing invariants.

All operations (except for assigning to bindings) are assumed pure in the reactive context, so all calls to `assert!` are optimized out and will not have the intended effect of enforcing invariants.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
Compat/Breaking
Breaking change that won't be backward compatible
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yvt/latte#1
Reference in a new issue
yvt/latte
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?