-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I got error with these lines of code:
class Animal {
function constructor(breed = "bear") {
this.breed = breed
}
function speak() {
print(this.breed)
}
}
animal = Animal.new()
animal.speak()
The detail error is:
panic: interface conversion: ast.ExpressionNode is *ast.Identifier, not *ast.Number
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working