Typed metavariables and type hinting have the same grammar: '(', $._expr, ')' vs '(', $.identifier, ':', $.type, ')', the workaround is implemented in the CST to AST converter.
Fix type argument ambiguities
Reformat testcases in semgrep.txt
Support matching let expression
Update upstream tree-sitter parser
Please remember to execute lang/release move-on-aptos to sync the semgrep-move-on-aptos repo.
Security
[ ] Change has no security implications (otherwise, ping the security team)
Changes
'(', $._expr, ')'
vs'(', $.identifier, ':', $.type, ')'
, the workaround is implemented in the CST to AST converter.semgrep.txt
let
expressionPlease remember to execute
lang/release move-on-aptos
to sync thesemgrep-move-on-aptos
repo.Security