Skip to content

[BUG] Compiler regression on BYOND 516.1675 #423

@master832

Description

@master832

Describe the bug

After updating to BYOND 516.1675, the compiler consistently triggers false-positive errors regarding associative list keys. Specifically, the error "list: numbers are not allowed as associative list keys except in alist()" appears in files that have not been modified and are syntactically correct.

Round ID:

N/A

Steps to Reproduce:

Use BYOND version 516.1675.
Perform a "Clean Compile" of the project.
Observe multiple list: numbers are not allowed as associative list keys errors in unrelated files.

Additional context

This behavior is not present in BYOND 516.1669 or earlier.
While the unterminated text expression error is not explicitly triggered, the cascading nature of the errors suggests a parser scope leakage where the compiler loses track of syntax boundaries from earlier includes.

Compiler output (click to expand)
code\game\mecha\mecha.dm:25:error: list: numbers are not allowed as associative list keys except in alist()
code\controllers\subsystem\skills.dm:12:error: list: numbers are not allowed as associative list keys except in alist()
code\modules\surgery\_surgery_step.dm:60:error: list: numbers are not allowed as associative list keys except in alist()
code\modules\surgery\_surgery_step.dm:69:error: list: numbers are not allowed as associative list keys except in alist()
code\modules\mob\living\carbon\human\human_movement.dm:270:warning (no_parent): ..: ..() has no parent proc to call
code\modules\mob\living\carbon\human\human_movement.dm:273:warning (no_parent): ..: ..() has no parent proc to call
code\datums\hud.dm:64:error: list: numbers are not allowed as associative list keys except in alist()
code\modules\antagonists\devil\devil.dm:143:error: list: numbers are not allowed as associative list keys except in alist()
code\modules\mob\living\simple_animal\hostile\mining_mobs\hivelord.dm:382:error: list: numbers are not allowed as associative list keys except in alist()
roguetown.dmb - 7 errors, 2 warnings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions