blob: 580adbefeacc3d0a3d4ace59ea3e9f9930e060b8 [file] [log] [blame]
>>> late local variables
{
late final int i;
late int i;
late var i;
}
<<<
{
late final int i;
late int i;
late var i;
}
>>> pattern variable declaration
{
var ( a && b ) = o;
var ( a as int , String ? b ) = o;
var ( : inferred ) = o;
final [ a ! , Foo ( : b ) , ... ] = o;
final { 'k' : _ , ... } = o;
var Foo ( prop : value , : inferred ) = o;
}
<<<
{
var (a && b) = o;
var (a as int, String? b) = o;
var (:inferred) = o;
final [a!, Foo(:b), ...] = o;
final {'k': _, ...} = o;
var Foo(prop: value, :inferred) = o;
}