anchor.diff:    testTypedList(new Int32List(4).toList(growable: false));
   
     // Fixed length lists, length 4.
  -  testFixedLengthList(<T>() => new List<T?>.filled(4, null));
  -  testFixedLengthList(
  -      <T>() => new List<T?>.filled(4, null).toList(growable: false));
  -  testFixedLengthList(<T>() => (<T?>[]..length = 4).toList(growable: false));
  -  testFixedLengthList(<T>() => (new List<T?>.filled(0, null, growable: true)
  -        ..length = 4)
  -      .toList(growable: false));
  +  testFixedLengthList(<T>(T t) => List<T>.filled(4, t));
  +  testFixedLengthList(<T>(T t) => List<T>.filled(4, t).toList(growable: false));
     // ListBase implementation of List.
  -  testFixedLengthList(<T>() => new MyFixedList(new List<T?>.filled(4, null)));
  -  testFixedLengthList(<T>() => new MyFixedList<T?>(new List<T?>.filled(4, null))
  -      .toList(growable: false));
  +  testFixedLengthList(<T>(T t) => new MyFixedList(List<T>.filled(4, t)));
  +  testFixedLengthList(<T>(T t) =>
  +      new MyFixedList<T>(List<T>.filled(4, t)).toList(growable: false));
   
     // Growable lists. Initial length 0.
  -  testGrowableList(<T>() => <T?>[].toList());
  -  testGrowableList(<T>() => new List<T?>.filled(0, null).toList());
  -  testGrowableList(<T>() => new List<T?>.filled(0, null, growable: true));
  -  testGrowableList(<T>() => []);
  -  testGrowableList(<T>() => new List.from(const []));
  -  testGrowableList(<T>() => new MyList([]));
  -  testGrowableList(<T>() => new MyList<T>([]).toList());
  +  testGrowableList(<T>(T t) => <T>[].toList());
  +  testGrowableList(<T>(T t) => new List<T>.filled(0, t, growable: true));
  +  testGrowableList(<T>(T t) => []);
  +  testGrowableList(<T>(T t) => new List.from(const []));
  +  testGrowableList(<T>(T t) => new MyList([]));
  +  testGrowableList(<T>(T t) => new MyList<T>([]).toList());
   
     testTypedGrowableList(new Uint8List(0).toList());
     testTypedGrowableList(new Int8List(0).toList());
  
positive.code:   }
  
    // setRange.
    list.setRange(0, 4, [3, 2, 1, 0]);
    Expect.listEquals([3, 2, 1, 0], list);
  
    list.setRange(1, 4, list);
  
negative.code:   testRangeErrors([1, 2, 3].sublist(1, 1), "sub-list");
    // Non-empty lists.
    testRangeErrors([1, 2, 3], "list");
    testRangeErrors(List.filled(3, null, growable: false), "fixed-list");
    testRangeErrors(const [1, 2, 3], "const-list");
    testRangeErrors(new List.unmodifiable([1, 2, 3]), "unmodifiable");
    testRangeErrors(new Uint8List(3), "typed-list");
  