Repository navigation
Commit f5824ee
committed
fix(compiler): skip object methods in property-site matching
Object shorthand methods (node.method === true) whose key matches a
PROPERTY_SITES entry (read, put, remove, of, creates, patches, removes)
were incorrectly treated as contract argument positions. This caused
site() to run mentionsContract on the FunctionExpression, false-report
DATA_CONTRACT_ARGUMENT, and skip walking the body—dropping real contract
uses inside.1 parent 5c6f32a commit f5824ee
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments