Skip to content

Commit

Permalink
fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed May 22, 2019
1 parent 89aac76 commit bafe482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/interable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class LazyMap1<T1, T2> extends ALazyMap<T1, T2> implements ISequence<T2> {
}

map<U>(callback: (v: T2, i: number) => U): ISequence<U> {
return new LazyMap2(this.it, this.mapV, callback);
return new LazyMap2(this.it, this.map12, callback);
}
}

Expand Down

0 comments on commit bafe482

Please sign in to comment.