support leading colon syntax like a[1:]