SpacemanDMM icon indicating copy to clipboard operation
SpacemanDMM copied to clipboard

SDMM misses relative type definitions if a space is used

Open Zandario opened this issue 2 years ago • 0 comments

Details

First noticed this while making our codebase compatible with OpenDream. https://github.com/Citadel-Station-13/Citadel-Station-13-RP/blob/6085261718f4e0c5cdc33fa93d641ed080484d09/code/game/objects/items/stacks/sandbag.dm#L52

From what I've tested, this only happens to types, procs will error for other reasons to prevent this.

Reproduction

image

Copyable Reproduction

test.dm

/atom
	foo
		name = "Test"

/atom
	bar name = "Test"

SpacemanDMM.toml

[langserver]
dreamchecker = true

[code_standards]
disallow_relative_type_definitions = true

Zandario avatar Mar 10 '23 22:03 Zandario