Skip to content

Bug with alias checking #13

@georgtree

Description

@georgtree

When we check the alias collision with switch name, we check not against switch name, but any name, which includes parameter:

if {$name in [dict keys $aliases]} {
     return -code error "collision of switch -[dict get $aliases $name] alias with the -$name switch"
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions