2021-11-09 01:58:49 +03:00
|
|
|
# Namespace deletion regression test
|
|
|
|
|
|
|
|
See https://github.com/unisonweb/unison/issues/1552
|
|
|
|
|
2021-11-09 02:07:34 +03:00
|
|
|
If branch operations aren't performed in the correct order it's possible to end up with unexpected results.
|
|
|
|
|
|
|
|
Previously the following sequence delete the current namespace
|
|
|
|
unexpectedly 😬.
|
2021-11-09 01:58:49 +03:00
|
|
|
|
|
|
|
```ucm
|
2024-06-26 21:45:20 +03:00
|
|
|
scratch/main> alias.term ##Nat.+ Nat.+
|
2024-06-12 01:22:09 +03:00
|
|
|
scratch/main> ls Nat
|
|
|
|
scratch/main> move.namespace Nat Nat.operators
|
|
|
|
scratch/main> ls Nat
|
|
|
|
scratch/main> ls Nat.operators
|
2021-11-09 01:58:49 +03:00
|
|
|
```
|