Closed tballmsft closed 3 years ago
Currently, names in specifications are divided up by packet types, so it is possible for a register and event to have the same name. I propose that we disallow multiples uses of same name in a specification to reduce change for confusion.
@mmoskal this seem like a good idea
yes; I'll do it next time I get to the spectool unless someone beats me to it ;)
lemme take a look
Seems thiat this is already being done.
https://github.com/microsoft/jacdac/blob/fcecddd951984fb4839ffc486d2f19070c5ccad4/spectool/jdspec.ts#L585
Currently, names in specifications are divided up by packet types, so it is possible for a register and event to have the same name. I propose that we disallow multiples uses of same name in a specification to reduce change for confusion.