Skip to content

Commit ba41f25

Browse files
committed
preserve ISeq ctor for binary compatibility
1 parent 42f68bc commit ba41f25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/jvm/clojure/lang/SeqIterator.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ public SeqIterator(Object o){
2626
next = o;
2727
}
2828

29+
//preserved for binary compatibility
30+
public SeqIterator(ISeq o){
31+
seq = this;
32+
next = o;
33+
}
34+
2935
public boolean hasNext(){
3036
if(seq == this){
3137
seq = START;

0 commit comments

Comments
 (0)