> The name doesn't need to be changed, Instead main could have > contain: > > A.A!(int) a; > > Instantiate A from module A (instead of instantiate module A > which is the cause of the error) Thanks, It was compiled successfully!