fixes a collect() bug reported on the forum (#15156) [backport:1.2]

This commit is contained in:
Andreas Rumpf 2020-08-04 12:45:15 +02:00 • committed by GitHub
commit 64aec6eb85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View file

@ -11,7 +11,7 @@
## Nim's write tracking and also for the cursor inference.
## The algorithm is a reinvention / variation of Steensgaard's
## algorithm.
## The used algorithm is "union find" with path compression.
## The used data structure is "union find" with path compression.
import ast, types, lineinfos, options, msgs, renderer
from trees import getMagic