nanoc / features

Collection of feature requests
2 stars 1 forks source link

Warn when assigning Proc to attribute #38

Open denisdefreyne opened 6 years ago

denisdefreyne commented 6 years ago

In the preprocessor, it’s possible to change item and layout attributes. It’s also possible to assign a Proc to an attribute, but this leads to problems with the outdatedness checker (an item with a Proc attribute will pretty much always be considered outdated).

To avoid issues like these, warn when a Proc is assigned to an attribute.