forked from Mirror/wren
renamed filler constructor in list to match issue
This commit is contained in:
@ -3,6 +3,6 @@ var list = List.new(5)
|
||||
System.print(list.count) // expect: 5
|
||||
System.print(list) // expect: [null, null, null, null, null]
|
||||
|
||||
var list2 = List.new(5, 2)
|
||||
var list2 = List.filled(5, 2)
|
||||
System.print(list2.count) // expect: 5
|
||||
System.print(list2) // expect: [2, 2, 2, 2, 2]
|
||||
|
||||
Reference in New Issue
Block a user