JSMonk / hegel

An advanced static type checker
https://hegel.js.org
MIT License
2.1k stars 59 forks source link

Problem with for loop #162

Closed srg-kostyrko closed 4 years ago

srg-kostyrko commented 4 years ago

if checking for equality there is an error Variable "i" is not defined! in testing part of for loop

https://hegel.js.org/try#GYewTgBAFANgpgFwgSwgXggRgAwG4UQB8EeKAtGQJQQDeAvhAPSMQDG4YcrSAdiBHDBhwEABaC4AKEmhIsRAQw58qNGqy5kFavSYsA7sJ4BzCADUAhmGQWARvAgAiZI5QBnCHyQATOMGQ8cN4AhAJC4EA

JSMonk commented 4 years ago

Hah. It's weird. We will fix it soon. Thank you for the contribution ^_^.