Two @FUNCTIONs/aliases with the same name

#2
Here, in 20.00.25, this seems to "function" just fine:

Code:
[TEST]ver

TCC  20.00.25 x64   Windows 7 [Version 6.1.7601]

[TEST]function
TCC: No functions defined

[TEST]function test foo
[TEST]function test bar
[TEST]function
test=bar

[TEST]alias
TCC: No aliases defined

[TEST]alias test foo
[TEST]alias test bar
[TEST]alias
test=bar
 

rps

Jul 6, 2008
287
4
#4
TCC 20.11.38 Windows 7 [Version 6.1.7601]

v:\> alias foo bar

v:\> alias foo bar

v:\> alias foo bar

v:\> alias fo*
foo=bar
foo=bar
foo=bar
I've been working with a few aliases lately and noticed that I now have to *unalias the existing aliases before redefining a newer version at the command line. Made me wonder what was happening for awhile.

Not the expected behavior since I didn't observe this issue in V19. Didn't check any further back.

I read several aliases from a file and multiple definitions for the same alias does not produce multiple definitions, LILO.
Conclusion: The multiple alias with same name behavior only seems to manifest when working with aliases at the V20 command line.