bichanna / slap

🖐 A dynamically- and strongly-typed, object-oriented programming language
https://bichanna.github.io/slap/
MIT License
33 stars 0 forks source link

Fix bug #43 #45

Closed bichanna closed 2 years ago

bichanna commented 2 years ago

Now, this code works just fine.

class Car {
    drive() {
        println("driving a car");
    }
}

class Mazda <- Car {
    drive() { super.drive(); }
}

let myCar = Mazda();
myCar.drive();

#{
driving a car
}#