backspaces / agentscript

An Agent Based Modeling system (ABM)
http://backspaces.github.io/agentscript/
GNU General Public License v3.0
107 stars 14 forks source link

deprecated messages should only be printed a set number of times #32

Closed stigmergic closed 3 years ago

stigmergic commented 3 years ago

Deprecation warnings are useful but get annoying if they are printed with every use

backspaces commented 3 years ago

Oops, thanks! I'll convert to util.warn which keeps a cache of warning strings and never repeats.

backspaces commented 3 years ago

Fixed in latest commit