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
classFoo
{
int_v;// nb: if asEP_PROPERTY_ACCESSOR_MODE is set to 2, this doesn't require `property`int get_v() property { return_v; }
void set_v(int value) property { _v=value; }
// these work fine thoint propv
{
getconst { return_v; }
// not a bug per se, but "value" doesn't// appear to be a variable if hovered over.// it is properly typed though.set { _v=value; }
}
}
voidtest()
{
Foo f;
// error; should see `v` as a prop
f.v = 50;
// works, but should have error for not// having a setter
f.propv = 50;
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: