fix Issue 8244 - cannot slice a type tuple with '[]' in locations where a type is valid
Merge pull request #2855 from 9rnsr/fix8244

Issue 8244 - cannot slice a type tuple with '[]' in locations where a type is valid