ko4life-net / ko

Open source development of the game Knight Online. This is a reversed engineered old version of the game aiming to replicate the nostalgic experience we all once had <3
MIT License
54 stars 22 forks source link

Access of scoped iteration variables #34

Closed stevewgr closed 2 years ago

stevewgr commented 2 years ago

Description

As part of the update towards a newer compiler, I temporarily enabled ForceConformanceInForLoopScope in order to separate things.

This property will be deprecated soon and we need to prevent access of variables outside the scope of the for loop.

Currently this is considered as 95% done in this PR: https://github.com/stevewgr/ko/pull/33