Tackled the issue of infinite loop during runtime when providing format with infinte range . Now it shows compilation error for the same . fixes : #10559