Fix visitor bug
Merge pull request #3256 from 9rnsr/fix12144

[REG2.064] Issue 12144 - Unresolved xopEquals when referenced by dynamic array constructor
Conflicts:
	src/cast.c
	src/typinf.c
Additional fix:
	src/expression.h
Fix up issue 12144 test case
Merge pull request #3271 from 9rnsr/2.065

Pick up changes from master to 2.065 branch