Akuli / jou

Yet another programming language
MIT License
12 stars 4 forks source link

No error for missing self parameter #244

Closed Akuli closed 1 year ago

Akuli commented 1 year ago
struct Foo:
    def bar() -> void:
        return

def main() -> int:
    return 0

Expected result: error on line 2 because it is missing the self parameter

Actual result: no error