blob: 4509066c1d952881dcb0a8407bb066741f75081b [file] [log] [blame]
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// We used to always nullify the element type of a list we are tracing in
// the presence of a fixed length list constructor call.
/*member: myList:Container([exact=JSExtendableArray|powerset=0], element: [exact=JSUInt31|powerset=0], length: 1, powerset: 0)*/
var myList = [42];
/*member: main:[exact=JSUInt31|powerset=0]*/
main() {
/// ignore: unused_local_variable
var a = List.filled(42, null);
return myList
/*Container([exact=JSExtendableArray|powerset=0], element: [exact=JSUInt31|powerset=0], length: 1, powerset: 0)*/
[0];
}