Merge pull request #2083 from 9rnsr/fix10178

Fix up for bug 10178
fix Issue 10179 - Tuple assignment should not cause "has no effect" error even if the length is zero