2020-05-27 00:59:27 +03:00
|
|
|
Tests the fix for https://github.com/unisonweb/unison/issues/689
|
|
|
|
|
2024-07-10 17:46:18 +03:00
|
|
|
``` unison
|
2021-08-24 21:33:27 +03:00
|
|
|
structural ability SystemTime where
|
2020-05-27 00:59:27 +03:00
|
|
|
systemTime : ##Nat
|
|
|
|
|
|
|
|
tomorrow = '(SystemTime.systemTime + 24 * 60 * 60)
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:17:15 +03:00
|
|
|
``` ucm
|
2020-05-27 00:59:27 +03:00
|
|
|
|
2023-12-22 14:55:24 +03:00
|
|
|
Loading changes detected in scratch.u.
|
|
|
|
|
2020-05-27 00:59:27 +03:00
|
|
|
I found and typechecked these definitions in scratch.u. If you
|
|
|
|
do an `add` or `update`, here's how your codebase would
|
|
|
|
change:
|
|
|
|
|
|
|
|
⍟ These new definitions are ok to `add`:
|
|
|
|
|
2021-08-24 21:33:27 +03:00
|
|
|
structural ability SystemTime
|
2020-05-27 00:59:27 +03:00
|
|
|
tomorrow : '{SystemTime} Nat
|
|
|
|
|
|
|
|
```
|