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
Line 47 in the following test contains record literal (Object?,). IIRC Object? can't be used as a type literal, including fields of a record literals. @eernstg WDYT?
That would be a syntax error. We do not have an expression of the form e? for any e. (We do have types of the form T? for some types T, but Object? is used as an expression in this case).
sgrekhov
added
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
and removed
type-question
A question about expected behavior or functionality
labels
Oct 6, 2022
sgrekhov
added a commit
to sgrekhov/co19
that referenced
this issue
Oct 7, 2022
Line 47 in the following test contains record literal
(Object?,)
. IIRCObject?
can't be used as a type literal, including fields of a record literals. @eernstg WDYT?https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Records/static_semantics_A04_t02.dart#L47
The text was updated successfully, but these errors were encountered: