OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Relatively pathed `proc` creates bad `DMObjectTree` entries

Open ike709 opened this issue 1 year ago • 1 comments

datum
    var
        foo = 1
        bar = 0
    proc
        meep()
            return foo
        beep()
            return bar

This code results in /datum/var and /datum/proc being added to DMObjectTree as types. This is due to Block() inside of DMParser.Statement().

ike709 avatar Dec 01 '24 01:12 ike709