Skip to content

strange 'expected' statement in operator error #298

Open
@lutzhamel

Description

@lutzhamel

When trying to add a constant to a list we can an expected error, but the error message itself makes no sense:

ast> [1,2,3]+1
error: found 'list + integer' expected 'none + none'
ast>

Why does Asteroid print 'none + none'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions