-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods called from toString
need a readonly receiver type
#59
Comments
Thanks for the bug report! Note that the receiver for
The default receiver for the new method So the actual receiver at the call site ( So any method that you want to call from a |
toString
need a readonly receiver type
I am not able to annotate the class with @readonly type and I am getting this error as Invalid annotation Here is my code that I tried:
|
You should annotate the receiver of the method, not the class. |
Issue Description
How to reproduce
Screen Shot / Recording
Sample Minimum test case code
The text was updated successfully, but these errors were encountered: