Issue 12077 - Instantiated type does not match to the specialized alias parameter

https://d.puremagic.com/issues/show_bug.cgi?id=12077