You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Cannot codegen interface to extend another interface #122
changed the title [-]Cannot codegen interface to extends another interface[/-][+]Cannot codegen interface to extend another interface[/+]on Dec 9, 2019
Activity
[-]Cannot gen interface that extends another interface[/-][+]Cannot codegen interface to extends another interface[/+][-]Cannot codegen interface to extends another interface[/-][+]Cannot codegen interface to extend another interface[/+]fredemmott commentedon Dec 9, 2019
This is provided by
->addInterface(),->setInterfaces()etc in https://github.com/hhvm/hack-codegen/blob/master/src/CodegenClassWithInterfaces.hack - though it does feel strange that it doesn't match the language syntax.jjergus commentedon Dec 9, 2019
Should we add
addExtendsandsetExtendsas aliases (for CodegenInterface only) to those functions?fredemmott commentedon Dec 9, 2019
I'm not sure; both really have advantages - this is probably best just to be reviewed when/if it's re-unified with fb www