This stuck out at me too. I was just playing with it to try to make it not special-cased and ran into the AMD problem you spoke of. The reason is that AMD transpiles to anonymous by default since that is typically how it is authored. Another tool then takes the generated AMD files and adds the appropriate names.