File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public struct Array<T>
8989 }*/
9090 #endif
9191
92- init ( repeating value: T , count: Int ) {
92+ public init ( repeating value: T , count: Int ) {
9393 if count == 0 {
9494 list = PlatformList < T > ( )
9595 } else {
@@ -107,7 +107,6 @@ public struct Array<T>
107107 }
108108 }
109109
110-
111110 public init ( _ list: PlatformImmutableList < T > ) {
112111 #if JAVA | CLR | ISLAND
113112 self . list = PlatformList < T > ( list)
@@ -130,11 +129,9 @@ public struct Array<T>
130129 // our aggregate operations like .map, .filter will errase our collection type and yield ISequence
131130 // so in order to have consistency with apple swift compiling
132131 // we will do something like [String](fields.map(fieldNameWithRemovedPrivatePrefix)).someArrayFunc
133- #if !ECHOES
134132 public convenience init ( _ sequence: ISequence < T > ) {
135133 self . init ( sequence: sequence)
136134 }
137- #endif
138135
139136 public init ( count: Int , repeatedValue: T ) {
140137 #if JAVA
@@ -738,7 +735,7 @@ public extension Swift.Array : ISequence<T> {
738735 #endif
739736
740737 #if ISLAND
741- @Implements ( typeOf ( IEnumerable) , " GetEnumerator " )
738+ @Implements ( typeOf ( IEnumerable) , " GetEnumerator " )
742739 func GetEnumeratorNG( ) -> IEnumerator ! {
743740 return list. GetEnumerator ( )
744741 }
You can’t perform that action at this time.
0 commit comments