Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue an error when overriding methods in the same class #6

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

equation314
Copy link
Member

Test program:

class Foo {
    void foo() {
        Print("1");
    }
    void foo() {
        Print("2");
    }
}

class Main {
    static void main() {
        class Foo f = new Foo();
        f.foo();
    }
}

@paulzfm paulzfm merged commit 0317c46 into decaf-lang:master Oct 28, 2019
fengjixuchui added a commit to fengjixuchui/decaf-1 that referenced this pull request Oct 28, 2019
Merge pull request decaf-lang#6 from equation314/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants