Dart: getters/setters: show read/write access

I see the "Show read/write access" has not effect, however it should show only getters or setters accordingly.


Is this a bug?

 

Sample code and screenshot:

class A {
int get a => 1;
set a(int i) {
a = i;
}
}
void main() {
A().a = 1;
print(A().a);
}

 

0
1 comment

Known issue, please follow https://youtrack.jetbrains.com/issue/WEB-36640 and linked ticket for updates

1

Please sign in to leave a comment.