Using anonymous autofilled function when text cursor is in function param parentheses yields invalid syntax

This is pretty self explanatory,

When you are here:

Press tab to select the anonymous autofilled function, this will result in the following, which is invalid syntax:

Specs:
AMD Ryzen 7 7800X3D @ 4.20GHz
32.0GB DDR5 @ 5200MHz (31.2 usable)
NVIDIA GeForce RTX 4080

Expected behavior

Selecting anonymous autofilled should result in valid syntax (workspace.DescendantAdded:Connect(function(descendant: Instance) end)), or it should not exist in the autofill menu if it won’t result in valid syntax.