-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context
PR #145 added recursive check() injection for nested .await expressions with 10 unit tests. Code review identified two additional test cases that would strengthen coverage.
Additional tests
let x = foo().await;inside nested blocks (e.g., insideif,match) -- the commonletbinding pattern is covered by the general logic but has no explicit testelse ifwith.awaitin the then-branch -- handled correctly by syn'sExprIftraversal ofelse_branch, but an explicit test would document the guarantee sinceExprWhilevsExprIfare different AST nodes
Priority
Low -- existing implementation handles both cases correctly. These are documentation-value tests that guard against future regressions if the visitor overrides change.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request