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
Seems that Object Interfaces are not supported. The extensions show no errors, you get a fatal error:
interface I
{
// An implementing class MUST have a publicly-readable property,// but whether or not it's publicly settable is unrestricted.publicstring$readable { get; }
// An implementing class MUST have a publicly-writeable property,// but whether or not it's publicly readable is unrestricted.publicstring$writeable { set; }
// An implementing class MUST have a property that is both publicly// readable and publicly writeable.publicstring$both { get; set; }
}
// This class fails in implementing the interfaceclassC1implements I
{
}
We support object interfaces of course, but we don't check that the interface property is implemented by its class (so there is no warning in problems window).
@jakubmisek Yes, of course — I meant that no error is reported. Thanks, and as always, great job and thanks for the speed with which you handle issues!
Activity
jakubmisek commentedon Jun 19, 2025
Good point @gremo ,
We support object interfaces of course, but we don't check that the interface property is implemented by its class (so there is no warning in problems window).
Will be implemented!
gremo commentedon Jun 19, 2025
@jakubmisek Yes, of course — I meant that no error is reported. Thanks, and as always, great job and thanks for the speed with which you handle issues!
jakubmisek commentedon Jun 22, 2025
@gremo thank you, we'll try to add property checks on interfaces in future update!