rokucommunity / brighterscript

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

support extending interfaces #729

Open ZeeD opened 1 year ago

ZeeD commented 1 year 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 1 year 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.