Commit Graph

9621 Commits

Author SHA1 Message Date
Cody Allen
381f890381
Merge branch 'trunk' into fix/float-redundancy 2022-02-18 08:58:10 -08:00
mergify[bot]
f344103545
Merge pull request #2929 from unisonweb/topic/fix2925
Fix universal equality
2022-02-18 16:09:44 +00:00
Rúnar
23e13958e6 Added test 2022-02-18 09:14:33 -05:00
Rúnar
c7a4fc3bd1 Fix === 2022-02-17 23:33:13 -05:00
mergify[bot]
ef4f6824a6
Merge pull request #2921 from unisonweb/topic/posix-parse-git-status
use posix paths when matching `git status` output
2022-02-17 23:34:54 +00:00
Arya Irani
be690e790f fix up some hard-coded paths in SqliteCodebase.hs 2022-02-17 16:14:22 -07:00
Paul Chiusano
5e827fc150
Merge pull request #2814 from unisonweb/cp/rewrite-slurping
Rewrite Slurping code
2022-02-17 16:48:40 -06:00
Arya Irani
7ce354a00e
Merge pull request #2916 from unisonweb/22-02-17-integration-tests-hie 2022-02-17 15:48:03 -07:00
Cody Allen
e4f1ae6c70
Merge pull request #2920 from unisonweb/fix/type-deps
Traverse type references in ANF functions
2022-02-17 13:47:51 -08:00
Chris Penner
f713eb0e9b
Merge pull request #2910 from unisonweb/cp/allow-pushing-v2-2
Allow pushing to v2 codebases
2022-02-17 15:30:47 -06:00
Arya Irani
1e3db9ca69 use posix paths when matching git status output 2022-02-17 13:58:49 -07:00
Dan Doel
6c3522e354 Traverse type references in ANF functions
Previously the references in FCon and FReq didn't matter when loading
into the cache, but due to tag packing, they now do. Strictly speaking,
they probably still don't matter for FReq, but might as well be safe.
2022-02-17 15:35:06 -05:00
Chris Penner
efc70b2dc2
Add debugging combinators (#2856)
* Add debugging combinators

* Allow passing comma separated list of debug flags

* Replace sqlite env var with Debug lib

* Add debugLogM

* Fix empty UNISON_DEBUG statements
2022-02-17 14:13:45 -06:00
Chris Penner
fc013e7cb6 Update transcript for v2 hashing algorithm 2022-02-17 14:00:39 -06:00
Paul Chiusano
0fc8c1110b
Merge pull request #2919 from unisonweb/cp/add-annotations-to-errs
Add annotations to reserved keyword, reserved word, and empty matches
2022-02-17 13:15:17 -06:00
Chris Penner
f8a15c1c05 Transcript for mismatched arities. 2022-02-17 12:44:22 -06:00
Chris Penner
8af3ad47b0 Add annotation to empty watches 2022-02-17 12:44:07 -06:00
Chris Penner
1a8c2701df Add error messages to transcript 2022-02-17 12:29:24 -06:00
Chris Penner
fa78af00e0 Add annotations to reserved keyword, reserved word, and empty matches 2022-02-17 12:18:01 -06:00
mergify[bot]
60c83275f6
Merge pull request #2915 from unisonweb/22-02-17-delete-runtime-benchmark
delete broken runtime benchmark
2022-02-17 17:35:06 +00:00
Arya Irani
953e372fa8 delete broken runtime benchmark
per discussion with @dolio
2022-02-17 10:13:10 -07:00
Arya Irani
c61cdd615f add integration-tests to hie.yaml 2022-02-17 09:43:23 -07:00
Chris Penner
e9c92e295e Merge remote-tracking branch 'origin/trunk' into cp/rewrite-slurping 2022-02-17 10:14:45 -06:00
Arya Irani
a549bd49ab
Merge pull request #2914 from unisonweb/topic/replace-shellmet 2022-02-17 08:51:45 -07:00
Paul Chiusano
291c4b943e
Merge pull request #2898 from unisonweb/fix/unbang-ctors
Don't use `!` syntax for ctor application (`Any ()` and `Some ()`, not `!Any` or `!Some`)
2022-02-17 09:27:50 -06:00
Arya Irani
b82aca00bc fork and patch Shellmet 2022-02-17 00:30:06 -07:00
Arya Irani
103cb56a5e Revert "stop using Shellmet in Git.hs"
This reverts commit c77288c430.
2022-02-17 00:21:56 -07:00
Chris Penner
50f7d045b5 Fix case where we create a new codebase 2022-02-16 16:24:23 -06:00
Chris Penner
c47594800c Docs 2022-02-16 14:33:29 -06:00
Paul Chiusano
c1c21367a5
Merge pull request #2908 from unisonweb/fix/sandbox
Fix an issue computing sandbox info
2022-02-16 14:18:38 -06:00
Chris Penner
8334fbd970 Allow pushing to v2 codebases 2022-02-16 13:52:18 -06:00
Dan Doel
4b57560b85 Fix an issue computing sandbox info
The sandboxed dependencies for combinators were being computed just from
the previously known combinators. So, if multiple new, interrelated
combinators were introduced simultaneously, their full transitive
dependencies wouldn't take into account anything in the new set.

To fix this, just iterate the dependency inference until a fixed point
is reached.
2022-02-16 14:40:04 -05:00
mergify[bot]
8d53ce3f46
Merge pull request #2907 from unisonweb/fix/nonlinear-effects
Fix an issue with the effect variable linearizing patch
2022-02-16 16:19:58 +00:00
Dan Doel
09ebb94a95 Test case. 2022-02-16 03:39:21 -05:00
Dan Doel
40e88ffc61 Fix an issue with effect variable linearity tweaking
The rewriting was introducing empty effect lists, but this is a problem
for effect signatures in an ability, which rely on there not being any
effect ascriptions except the one for the ability being defined on the
arrow spine. E.G.

    a -> b -> c ->{A} d

is okay, but:

    a ->{} b ->{} c ->{A} d

appears like the main effect happens on the first arrow to the checker.
2022-02-16 02:20:36 -05:00
Chris Penner
74fd82fe0e
Don't sync ALL test watches. (#2904)
* Only sync hashes and watch expressions which actually match the requested watch type

* Don't sync all test watch expressions indiscriminately.
2022-02-15 11:45:21 -06:00
Chris Penner
7ab73e5191
Merge pull request #2627 from unisonweb/topic/rehash-codebase
Rehash Codebase Migration (schema v2)
2022-02-15 11:19:06 -06:00
Chris Penner
094f71b709
Use 'v2' branch for auto-pull of base on topic/rehash-codebase (#2902)
* Use 'v2' branch of base to avoid needing to migrate base on every pull.

This also allows us to keep v1 and v2 versions of base around during the
transition period.

* Fix version parsing tests.

Co-authored-by: Arya Irani <538571+aryairani@users.noreply.github.com>
2022-02-15 10:41:14 -06:00
Paul Chiusano
ae3c53ee39
Merge pull request #2903 from unisonweb/anchor-headings 2022-02-14 16:39:25 -06:00
Simon Højberg
782a501484 docs.to-html headings should have an id
To enable deep-linking to sections docs, construct an html id based on the
heading text.
2022-02-14 15:41:29 -05:00
Chris Penner
3e3b44d1d1 Merge branch 'trunk' into topic/rehash-codebase 2022-02-14 13:31:57 -06:00
Arya Irani
3e80018dbf
Merge pull request #2900 from unisonweb/topic/avoid-System.Process.showCommandForUser 2022-02-14 12:16:25 -07:00
Simon Højberg
a9839676f6
Merge pull request #2893 from typechecker/add/contrib-philderbeast
Add Phil de Joux as contributor.
2022-02-14 09:28:38 -05:00
Phil de Joux
5eaa9e447a
Don't say what's been contributed.
Co-authored-by: Paul Chiusano <paul.chiusano@gmail.com>
2022-02-14 06:25:03 -05:00
Arya Irani
c77288c430 stop using Shellmet in Git.hs 2022-02-13 13:17:00 -07:00
Paul Chiusano
b3997ea97a transcript refresh 2022-02-12 23:20:27 -06:00
Paul Chiusano
cf38f0dc63 fix tuple printing 2022-02-12 22:56:15 -06:00
Paul Chiusano
b31bbdafb1
Merge pull request #2895 from unisonweb/fix/nonlinear-effects
'Linearize' quantified ability variables for better inference
2022-02-12 19:28:40 -06:00
Paul Chiusano
8477483bcd add round trip regression test 2022-02-12 19:18:02 -06:00
Dan Doel
8a46348ea2 Fix the 2712 test case to work for CI 2022-02-11 19:16:07 -05:00