Skip to content

Commit 8e94800

Browse files
committed
1 parent eed9566 commit 8e94800

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

LayoutBam.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class Array
5050
default -> dimensions[1] * dimensions[0];
5151
};
5252
order.push(this); // The definition order
53+
if (arrays.containsKey(name))
54+
{stop("Name :", name, "has already been defined");
55+
}
5356
arrays.put(name, this); // Make the array accessible by name
5457
}
5558
}

0 commit comments

Comments
 (0)