Skip to content

Cannot declare js class, triggers error afer 1 tick #2

@borrel

Description

@borrel

hi,

after declaring a class i get the following error
SyntaxError: Identifier 'Pos' has already been declared

here is some test code

class Pos {
    
}
my_spirits[1].shout('OK');
console.log('PASSED');

the test only passes once, and then throws the error until the class is renamed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot-codeBot code execution issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions