Skip to content

Are "foo" and foo distinct members? #59

@LeaVerou

Description

@LeaVerou

This came up in #55 (comment)

Whether this is possible and provides two distinct members affects a number of API decisions (e.g. #47, #55) and we should resolve on it ASAP:

protocol P {
	foo () { /* elided */ }
	["foo"]() { /* elided */ }
}

What about this?

protocol P {
	foo () { /* elided */ }
	[P.foo]() { /* elided */ }
}

cc @michaelficarra @ljharb

Metadata

Metadata

Assignees

No one assigned

    Labels

    Agenda+To be discussed in next breakout. Remove when actually discussed and resolved.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions