fix hasThis for inside mixin
fix Issue 1680 - static struct constructor overloaded with method prevents compilation in inner function