Commit Graph

2 Commits

Author SHA1 Message Date
Ben Cohen
4ddac3fbbd [stdlib] Eradicate IndexDistance associated type (#12641)
* Eradicate IndexDistance associated type, replacing with Int everywhere

* Consistently use Int for ExistentialCollection’s IndexDistance type.

* Fix test for IndexDistance removal

* Remove a handful of no-longer-needed explicit types

* Add compatibility shims for non-Int index distances

* Test compatibility shim

* Move IndexDistance typealias into the Collection protocol
2017-12-08 12:00:23 -08:00
Slava Pestov
cf49a160da Add a code-completion fuzzer
The fuzzer drops the cursor in random locations in a source file
and attempts to get code completions there; crashes are fed into
creduce to get a reduced test case.
2017-09-20 23:41:38 -07:00