Commit 9a1b416
Don't evaluate suffix twice in LazyList#lazyAppendedAll
Port of scala/scala#8851.
Co-authored-by: NthPortal <nthportal@gmail.com>1 parent b2ccb28 commit 9a1b416
File tree
2 files changed
+9
-1
lines changed- compat/src
- main/scala-2.11_2.12/scala/collection/compat/immutable
- test/scala/test/scala/collection
2 files changed
+9
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
379 | 387 | | |
0 commit comments