Skip to content

Crash when suggesting empty symbol names. #451

@Y-Less

Description

@Y-Less

Issue description:

The code below crashes on this line:

assert(n>0 && m>0);

Immediately before this there is an error 020 invalid symbol name "". I don't know why that symbol name is being picked up, but that's at least where it comes from for this error.

Minimal complete verifiable example (MCVE):

const static SIZE = 2;

new arr[SIZE];

main() {}

Workspace Information:

  • Compiler version:
  • Command line arguments provided (or sampctl version):
  • Operating System:

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