Dan Doel
13e88f95fd
Track sandboxing information in the runtime.
2022-01-24 13:18:26 -05:00
Mitchell Rosen
f430921b12
⅄ trunk → topic/rehash-codebase
2022-01-24 12:43:11 -05:00
Nicole Prindle
33468dd21d
Fix if hanging test, remove unnecessary transcript
2022-01-22 18:58:54 -05:00
Nicole Prindle
85a2d237ec
Add regression tests for #2830
2022-01-22 18:10:09 -05:00
Nicole Prindle
ca6dd75a66
Fix printing of ifs with multiline conditions
...
Pretty-printing ifs with multiline conditions previously would not break
the line before the then, leading to roundtripping errors. For example:
```
if
a = b
a
then foo
else bar
```
would print as:
```
if
a = b
a then foo else bar
```
This fixes the term printer to add a new case for when the condition is
multiline.
2022-01-22 18:01:41 -05:00
mergify[bot]
3336bbbb43
Merge pull request #2819 from nprindle/np/fix-boolean-operator-hanging
...
Fix incorrect hanging of boolean operators, and elide extra parentheses
2022-01-21 22:00:27 +00:00
Paul Chiusano
fbceaf9e36
Merge pull request #2827 from unisonweb/work/decompile-tweaks
...
Fix pattern matching in docs
2022-01-21 15:45:01 -06:00
Chris Penner
c3c5d69ac3
Fix hashes in gitsync tests
2022-01-21 15:07:05 -06:00
Nicole Prindle
48b5b32a42
Add myself to the list of contributors
2022-01-21 15:51:33 -05:00
Chris Penner
c27d43b266
Merge pull request #2828 from unisonweb/cp/migration-progress-and-prompt
...
Add progress bar and prompt to migration
2022-01-21 14:40:00 -06:00
Chris Penner
c1e659d0d9
Update hash version in sqlite query.
2022-01-21 12:12:26 -06:00
Chris Penner
1f945a5cae
Formatting cleanups
2022-01-21 12:07:05 -06:00
Chris Penner
acd6e049c4
Add progress bar to migration and add prompt to begin migration.
2022-01-21 12:01:29 -06:00
Dan Doel
7d56385db1
Add a doc test case for evaluating cases
2022-01-21 12:48:48 -05:00
Paul Chiusano
942b228559
Merge pull request #2809 from unisonweb/topic/fix2796
...
Special-case overapplied binary operators
2022-01-21 11:39:23 -06:00
Chris Penner
09f27d09f9
Merge remote-tracking branch 'origin/trunk' into cp/rewrite-slurping
2022-01-21 11:01:30 -06:00
Chris Penner
098c7492c5
Merge branch 'trunk' into cp/rewrite-slurping
2022-01-21 10:42:56 -06:00
Chris Penner
725acab049
Remove tracing
2022-01-21 10:38:07 -06:00
Chris Penner
6d5cf29c26
Reorganize
2022-01-21 10:36:06 -06:00
Chris Penner
ab0e3e52d2
Make an explicit 'CheckOp' constructor
2022-01-21 10:34:33 -06:00
Chris Penner
443eb67e25
Update transcripts
2022-01-21 10:29:23 -06:00
Nicole Prindle
72b02b40d4
Fix regression test transcript
2022-01-20 18:28:14 -05:00
Chris Penner
6db90f043f
Check explicitly on types & terms for slurp components
2022-01-20 17:17:04 -06:00
Chris Penner
952b49ec42
Ensure constructors are ignored when necessary.
2022-01-20 17:06:39 -06:00
Chris Penner
7146712c80
Properly pipe constructors through everything
2022-01-20 16:53:19 -06:00
Chris Penner
ce4f6edb65
Update ability-term transcript
2022-01-20 15:39:22 -06:00
Chris Penner
bf82f3e957
Clean up
2022-01-20 15:39:16 -06:00
Chris Penner
223f8ad3ae
Handle constructors explicitly in slurping
2022-01-20 15:18:33 -06:00
Chris Penner
2dc707dc78
Add transcript for ctor/term conflicts
2022-01-20 14:45:43 -06:00
Chris Penner
1346489fe9
WIP
2022-01-20 14:45:23 -06:00
mergify[bot]
6cbd464c0e
Merge pull request #2824 from stew/fix-slow-error
...
add custom error message for PatternArityMismatch
2022-01-20 19:59:18 +00:00
mergify[bot]
3b72883df2
Merge pull request #2821 from unisonweb/cp/fix-slurp-types
...
Fix error in dependency closure calculation.
2022-01-20 19:52:17 +00:00
Chris Penner
4cabe956c9
Ormolu SlurpComponent
2022-01-20 13:30:24 -06:00
Chris Penner
c332e46633
Put seenTypes into the types slot,
...
Add transcript for type-dependencies calculations.
2022-01-20 13:30:09 -06:00
Stew O'Connor
50b8e04b27
add custom error message for PatternArityMismatch. elide path from "Other" errors
2022-01-20 11:27:10 -08:00
Chris Penner
e2a5f94646
Handle constructors explicitly
2022-01-20 11:55:13 -06:00
Chris Penner
77410b68dd
Merge branch 'trunk' into cp/rewrite-slurping
2022-01-20 10:35:34 -06:00
Chris Penner
cb44a6af45
Use map instead of relation since we can.
2022-01-20 10:34:58 -06:00
Chris Penner
f91e9cd041
Update transcript output
2022-01-20 09:57:50 -06:00
Mitchell Rosen
47590b55e6
Merge pull request #2806 from unisonweb/22-01-13-compute-frontier
...
make computeFrontier more efficient, rename to computeDirty
2022-01-19 21:14:45 -05:00
Nicole Prindle
6cb83392c1
Add regression test for splitting lines with &&/||
2022-01-19 20:03:09 -05:00
Nicole Prindle
e07b0cdcd2
Fix hanging of &&/||, and elide extra parentheses
...
Previously, breaking a long line with an `&&` or `||` would naively
incorrectly print without indentation, like this:
```
("a long piece of text to force unison to hang the line" == "")
&&
("a long piece of text to force unison to hang the line" == "")
```
This is a syntax error. The pretty-printer now correctly hangs the line
as
```
("a long piece of text to force unison to hang the line" == "")
&& ("a long piece of text to force unison to hang the line" == "")
```
Additionally, subsequent chains of `&&` and `||` have too-restrictive
parenthesis rules, so `a && b && c` will be printed as `(a && b) && c`.
Now, the pretty-printer will search for a chain of `&&`s or `||`s and
render it without extra parens. For clarity, parentheses are kept when
`&&` and `||` are mixed.
2022-01-19 15:38:10 -05:00
Arya Irani
3ad37c6f7c
Merge pull request #2817 from unisonweb/cp/include-watch-dependencies
2022-01-19 11:51:12 -07:00
mergify[bot]
d8e163f2c8
Merge pull request #2773 from unisonweb/cp/keep-state-on-pull
...
Persist local changes in Git Cache on pull/push
2022-01-19 17:58:41 +00:00
Chris Penner
5809a9f321
Add test asserting that local changes are wiped out when there's changes on the remote
2022-01-19 11:41:38 -06:00
Chris Penner
408335178d
Update transcripts for test-watch dependencies
2022-01-19 10:50:10 -06:00
Chris Penner
ed9f0e5315
Include test-watch dependencies when computing definition closure
2022-01-19 10:36:58 -06:00
Chris Penner
e356225573
Add note on tuple monoids
2022-01-18 14:31:58 -06:00
Arya Irani
68b387b713
Don't depend on BL.toChunks logic in V2 hashing
2022-01-18 11:09:42 -07:00
Arya Irani
b2cc4e4a8a
Merge pull request #2812 from unisonweb/cp/docs-crash
2022-01-18 10:24:13 -07:00