What I expected to happen was...:
Files with no name, only an extension, fail to load.
What actually happened was...:
Instead, they load with IDs such as foo: and foo:bar/
Steps to Reproduce: # Create or download a datapack with the following functions:
data/foo/functions/.mcfunction
data/foo/functions/bar/.mcfunction
Load the datapack, noting the number of functions includes those nameless files.
Note that you can run the following commands:
/function foo:
/function foo:bar/
I acknowledge it's possible this is intended, but it seems too weird and unexpected.
Confirmed in 1.16.1 and 20w29a.