salsa/src
Markus Westerlind 0e01067d55 feat: Allow queries to avoid panics on cycles
Quickest POC I could create to get some potentially cyclic queries to
not panic and instead return a result I could act on. (gluon's module
importing need to error on cycles).

```
// Causes `db.query()` to actually return `Result<V, CycleError>`
fn query(&self, key: K, key2: K2) -> V;
```

A proper implementation of this would likely return
`Result<V, CycleError<(K, K2)>>` or maybe larger changes are needed.

cc #6
2019-08-16 20:37:54 +02:00
..
derived feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
lru ⬆️ rand 2019-07-02 14:40:43 +03:00
runtime feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
debug.rs Update src/debug.rs 2019-07-03 06:28:09 -04:00
dependency.rs Merge pull request #181 from matklad/ptr 2019-08-15 07:04:07 -04:00
derived.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
doctest.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
durability.rs remove max_durability in favor of Durability::MAX 2019-07-05 05:58:23 -04:00
input.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
intern_id.rs s/RawId/InternId/ 2019-04-03 11:01:20 -03:00
interned.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
lib.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
lru.rs use a fixed seed 2019-07-02 06:49:24 -04:00
plumbing.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00
revision.rs correct out of date comments and typos 2019-07-04 06:32:08 -04:00
runtime.rs feat: Allow queries to avoid panics on cycles 2019-08-16 20:37:54 +02:00