Skip to content

Loading…

Interfaces which specify accessors should be satisfied by property declaration #13

Closed
cpriest opened this Issue · 1 comment

1 participant

@cpriest
Owner

An implementing class may specify a property with an appropriate access level to satisfy an accessor declaration requirement of an interface.

interface i {
    public $Seconds { get; }
}

class TimePeriod implements i {

    /* Satisfies interface implementation requirements of interface i */
    public $Seconds;
}
@cpriest cpriest closed this
@cpriest cpriest reopened this
@cpriest cpriest was assigned
@cpriest
Owner

Fixed by a4562be

@cpriest cpriest closed this
@cpriest cpriest pushed a commit that referenced this issue
cpriest Implementing classes can now satisfy guarded property declarations with
a traditional property declaration.

Also added XFAIL sections to a few tests that are expected to fail for
now until other tickets are closed.

fixes #13
a4562be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.