Skip to content

Type and proc defs should conflict #2648

Description

@amylizzle
/datum/proc/beep()
    return

/datum/test/beep
  var/thing = 1

/datum/test/beep()
    return

byond doesn't draw distinctions between class and proc defs, so you can't have a class with the same name as a proc.

in this example, /datum/test/beep() is the function def, and /datum/test/beep tries to redefine it (in BYOND)

See: https://www.byond.com/forum/post/2983339

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompilerInvolves the OpenDream compilerParityA difference between OpenDream and BYOND implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions