Skip to content

Arrays with unknown size crash the compiler #314

@Dayvison

Description

@Dayvison

Is this a BUG REPORT, FEATURE REQUEST or QUESTION?:

  • Bug Report
  • Feature Request
  • Question

What happened:
Compiler crash

What you expected to happen:
Output an error

How to reproduce it (as minimally and precisely as possible):

new arr[10][unk][10];

Anything else we need to know?:

Environment:

  • Operating System Ubuntu 18.04
  • Compiler version 3.10.7
  • How are you invoking the compiler? Pawno, Sublime, vscode, sampctl or command-line? command-lline
  • If using sampctl, the version number

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions