GROOVY-6940: Subscript operator causes VerifyError in markup templates