Confusing error when assigning result of ref readonly-returning method to a ref local #28653
Labels
Area-Compilers
Bug
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used: 2.8.2; master from 14 July 2018 (c4189de)
Steps to Reproduce:
Try to assign the result of a
ref readonly
-returning method to a non-readonlyref
local:Actual Behavior:
I think this is not a good error message because:
The text was updated successfully, but these errors were encountered: