ndw’s avatarndw’s Twitter Archive—№ 33,256

    1. When you come to the conclusion that what you're looking at is a bug in the language compiler or runtime, you know you're wrong. And yet...
  1. …in reply to @ndw
    I have constructed a UnionFileCollection in Gradle. Calling size() on that collection never returns. That really doesn't feel like my bug.
    1. …in reply to @ndw
      It was a bug (not strictly "mine" since I didn't write the code to begin with, but that's neither here nor there). The guilty function was mutating the collection while iterating over it (and calling itself recursively!). "Don't do that."