fix #18912, ::
should not parse as an identifier
#22947
Merged
::
should not parse as an identifier
#22947