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

Native extends #9

Open
AskingQuestions opened this issue Jul 26, 2018 · 0 comments
Open

Native extends #9

AskingQuestions opened this issue Jul 26, 2018 · 0 comments
Assignees
Labels
easy Easy issues enhancement New feature or request

Comments

@AskingQuestions
Copy link
Contributor

extends will try and use native inheritance if available for the platform

Example

class A {
    int baseMethod() {}
}

class B inherits A { // Basic static inheritance
    
}

class C extends A { // Native inheritance with static fallback
   
}

Output(PHP)

class A {
    baseMethod() {}
}

class B {
    baseMethod() {}
}

class C extends A {
    // Using native inheritance
}
@AskingQuestions AskingQuestions added enhancement New feature or request easy Easy issues labels Jul 26, 2018
@AskingQuestions AskingQuestions self-assigned this Jul 26, 2018
@AskingQuestions AskingQuestions added this to the 1.0 Beta release milestone Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Easy issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant