Exception from alias ordering. Is this expected?

Think about it…

You define an alias for AlchTest to expand to AlchTest.Resolver.AlchTest, then you want to have an alias Alert to AlchTest.Resolver.Alert which gets expanded to AlchTest.Resolver.AlchTest.Resolver.Alert because of the previous alias.

Despite of what @benwilson512 already said (try to avoid having beginning and end of an alias identical), you could do it like this to circumvent:

alias AlchTest.Resolver.{AlchTest, Alert}

or this:

alias AlchTest.Resolver
alias Resolver.AlchTest
alias Resolver.Alert
5 Likes