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
[Edit] This is actually an open question, please wait for resolution of cf. dart-lang/language#1802.
Said test contains the expression List<int>.toString(), and expects it to be an invocation of the toString method on the Type instance denoted by List<int>. However, this section specifies that it must be considered to denote a constructor invocation, and hence it is a compile-time error because there is no constructor named List.toString.
The fix could be to use (List<int>).toString(), which seems to fit the intentions of the test.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
[Edit] This is actually an open question, please wait for resolution of cf. dart-lang/language#1802.
Said test contains the expression
List<int>.toString()
, and expects it to be an invocation of thetoString
method on theType
instance denoted byList<int>
. However, this section specifies that it must be considered to denote a constructor invocation, and hence it is a compile-time error because there is no constructor namedList.toString
.The fix could be to use
(List<int>).toString()
, which seems to fit the intentions of the test.The text was updated successfully, but these errors were encountered: