Skip to content

Commit

Permalink
Fixed a problem with previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaylov committed May 30, 2007
1 parent 430e9f4 commit 6e961f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/Array.scala
Expand Up @@ -164,7 +164,7 @@ object Array {
* @return an array composed of n elements all equal to elem
*/
def make[A](n: Int, elem: A): Array[A] = {
val a = new Array[a](n)
val a = new Array[A](n)
var i = 0
while (i < n) {
a(i) = elem
Expand Down

0 comments on commit 6e961f3

Please sign in to comment.