OpenDreamProject / OpenDream

A project for running games made in the DM programming language
MIT License
200 stars 109 forks source link

Add a pragma for deprecated builtins #1847

Open ike709 opened 3 months ago

ike709 commented 3 months ago

BYOND emits deprecation warnings for some deprecated builtins (e.g. lentext()) but not others (e.g. round()/1 is marked deprecated in the ref but does not emit).

We should add a pragma that consistently emits for things flagged as deprecated in the ref.

Currently we don't emit for lentext() at all.