mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously we had three separate instances of iterating from TY_INVALID+1 to TY_LAST, completely breaking type safety. Now we have a nice little wrapper that takes a closure, which should inline down to the same thing anyway. Also, eliminate TY_LAST and just use TY_INVALID as our sentinel. Swift SVN r23222
25 KiB
25 KiB