Skip to content

Input array size verifying #42

@MaximilianYan

Description

@MaximilianYan

There is no comparison of input array length declared by user and true input array length, so in case of incorrect input like

3
239

the interpreter will fail with runtime error like

step 7, id 2, line 3: array arr: no index 2

which might cause user confuse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions