rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
162 stars 47 forks source link

support extending interfaces #729

Open ZeeD opened 2 years ago

ZeeD commented 2 years ago

Please consider allow to extends brighterscript interfaces

the snippet:

interface Foo
    a as string
end interface

interface Bar extends Foo
    b as string
end interface

should allow to define an interface Foo with just the a field, and the interface Bar with a and b fields

TwitchBronBron commented 2 years ago

We definitely want to support this! It's just a matter of finding the time to implement it as there are a lot of higher priority items at the moment (file API, component statement, type tracking, etc...)

If you're interested in implementing this, I'm more than happy to help get you get onboarded and guide the feature.