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
This discrepancy has been known for a long time, cf. #36127 and #36126. Created dart-lang/language#1012 to settle the issue in the way that is based on discussions is the language team over time.
According to the Dart specification (10.1.1 Operators)
In fact, there is an error in analyzer and no issues in VM
The program above produces
error - The return type of the operator []= must be 'void'
in analyzer and no errors or warnings in VM
Dart VM version: 2.9.0-13.0.dev (dev) (Fri May 29 15:59:05 2020 +0200) on "windows_x64"
The text was updated successfully, but these errors were encountered: