ooc-lang / rock

:ocean: self-hosted ooc compiler that generates c99
http://ooc-lang.org/
MIT License
404 stars 40 forks source link

Changes in slurped files do not cause recompilation of slurping modules. #955

Closed davidpiuva closed 8 years ago

davidpiuva commented 8 years ago

It is most likely because the slerping module has not changed even thou the meaning has changed from the external file. One solution is to connect all slerped files as dependencies to the modules where they are placed.

Using rock -x before compiling solves the problem but is slower.

alexnask commented 8 years ago

Ah, that's an interesting bug.

Adding the slurped files as dependencies seems like the right thing to do, will take a look at it in a bit.