ooc-lang / rock

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

Subtle cover template bug due to resolution order #887

Closed fasterthanlime closed 9 years ago

fasterthanlime commented 9 years ago

This is partly due to the fact that isResolved was called on the wrong thing (probably my bad).

The other part was due to the new 'acs' attribute of FunctionDecl not being copied, so in the case of cover templates, acs weren't being unwrapped properly.