Skip to content

Sleep detection does not catch some child overrides. #247

@afterthought2

Description

@afterthought2

The following example does not detect any issues (v0.1.10 VSCode extension):

/proc/foo()
	set SpacemanDMM_should_not_sleep = TRUE
	var/test/test = new /test/sub()
	test.baz()

/test/proc/baz()

/test/sub/baz()
	bar()

/test/proc/bar()
	sleep(1)

It seems this should have been fixed in #214, but the example suggests some cases are missed. The simpler

/proc/foo()
	set SpacemanDMM_should_not_sleep = TRUE
	var/test/test = new /test/sub()
	test.baz()

/test/proc/baz()

/test/sub/baz()
	sleep(1)

does detect the sleep.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions