OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Children types declared before parent ones can have clobbering var declarations without error

Open Altoids1 opened this issue 3 years ago • 0 comments

Kind of a wordy title, sorry, but the gist is that this:

/atom/var/bluh
/datum/var/bluh

currently compiles without any errors, even though the former definition is clobbering the latter.

Oversight of #771 (although this problem existed before that PR)

Putting up an issue instead of just instantly fixing it like the chad I am because it actually is a symptom of a greater issue surrounding how to efficiently handle the fact that variable & type definitions can occur in any order in this language.

Altoids1 avatar Aug 25 '22 04:08 Altoids1