Akuli / jou

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

duplicate method name within the same struct #248

Closed Akuli closed 1 year ago

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

def main() -> int:
    return 0

Expected result: error on second def bar line

Actual result: no error