Fix Issue 11108 - `hasElaborateAssign` should check whether the type is assignable

Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11108
Merge pull request #1598 from denis-sh/fix-Issue-11108

Fix Issue 11108 - `hasElaborateAssign` should check whether the type is assignable