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