Commit Graph

874 Commits

Author SHA1 Message Date
Chris Gibbs
f7e932bfaf add parens around termLink and typeLink, according to ambient precedence - transcript updates 2021-06-06 18:00:34 +01:00
Arya Irani
60cf4c1f00 adjust tests and transcripts for changed hashes 2021-05-28 14:03:41 -06:00
Arya Irani
cf9a283496 add a little more to copy-patch.md 2021-05-28 13:47:31 -06:00
Arya Irani
6dc36daa9e Merge remote-tracking branch 'origin/trunk' into fix/2004-2-hash
# Conflicts:
#	unison-src/transcripts/fix2000.md
#	unison-src/transcripts/fix2000.output.md
2021-05-28 13:47:14 -06:00
Paul Chiusano
c3c0f01e46 Refresh transcripts
Any transcript that shows namespace hashes would be affected by this, even if it does nothing with patches, since the namespace hash now correctly mixes in the hash of the patches. (It doesn't matter if the patches are empty, just mixing in another hash for the empty list will affect the overall hash)
2021-05-28 09:04:24 -05:00
Paul Chiusano
c8a9d8b11a removed hardcoded hashes from the transcript
It was just being used for debugging output to show history at an intermediate point
2021-05-28 08:26:55 -05:00
Arya Irani
0fa859f32a Merge remote-tracking branch 'origin/topic/remove-v1-codebase-sync-tests' into fix/2004-2-hash 2021-05-28 01:13:44 -06:00
Paul Chiusano
5ad3a4e418
Merge pull request #2030 from unisonweb/fix/2026
Fix wrapper code for putBytes
2021-05-27 23:37:00 -05:00
Dan Doel
44b74f7d56 Attempt to remove platform-specific information from transcript 2021-05-27 18:37:55 -04:00
Dan Doel
57ecb81d27 Fix bad failure references in builtins
- When originally written, various builtins were referencing data types
  defined in IOSource. However, those no longer exist there.
- Instead, they are defined in Unison.Builtin.Decls
- This switches the builtins to the Decls values, some of which weren't
  exported yet.
- Also eliminates them from IOSource, since the ones there didn't
  actually work.
- Transcript testing the behavior added.
2021-05-27 16:41:14 -04:00
Dan Doel
1b34c22940 Add a transcript test. 2021-05-27 13:39:09 -04:00
Arya Irani
455b2caaa6 Revert "Empty nodes don't count as LCA"
This reverts commit 9e10dbedc6.

# Conflicts:
#	parser-typechecker/src/Unison/Codebase/Branch.hs
#	unison-src/transcripts/fix2000.output.md
2021-05-26 11:37:28 -06:00
Arya Irani
11c695fd85 update transcript output 2021-05-26 08:44:05 -06:00
Paul Chiusano
9277cfc399 better verbiage 2021-05-26 08:25:01 -05:00
Paul Chiusano
6ac56a68db Clean up transcript so it's easier to follow and add more verbiage 2021-05-26 08:22:50 -05:00
Paul Chiusano
a0de0be3c9 Regression test 2021-05-26 08:10:50 -05:00
Paul Chiusano
17e9fb0868 Update transcript that was using doc syntax for regression test 2021-05-25 13:58:19 -05:00
Paul Chiusano
7641e85909 fix pretty-printing of inline signature blocks 2021-05-25 13:48:35 -05:00
Paul Chiusano
24cf74d745 @signature is now @inlineSignature 2021-05-25 10:51:58 -05:00
Rúnar
e86d0f1f62 Fix up transcript output 2021-05-24 22:04:43 -04:00
Paul Chiusano
b860c4bfc6 Add short-circuiting for squash
This fixes the fix2000.md transcript
2021-05-24 21:51:26 -04:00
Rúnar
9e10dbedc6 Empty nodes don't count as LCA 2021-05-24 21:50:32 -04:00
Rúnar
58511d4cff Add transcript to check squash is same as merge 2021-05-24 21:50:32 -04:00
Rúnar
a3918e6535 Update transcript output due to new builtins 2021-05-19 22:33:51 -04:00
Paul Chiusano
ebdcf6c413 Use codebase LCA for squashing and improve transcript 2021-05-18 12:04:21 -05:00
Paul Chiusano
13ef0a0ca9
Merge pull request #1957 from unisonweb/fix/1940
Fix some runtime problems
2021-05-14 17:25:04 -05:00
Dan Doel
e53f5f0ae7 Add transcript output. 2021-05-14 17:36:28 -04:00
Paul Chiusano
c09379ae11 don't include yet another List.map in base.u 2021-05-13 11:00:57 -05:00
Paul Chiusano
efa894c4af
Merge pull request #1941 from unisonweb/fix/text-builtins
Fix uncons and unsnoc on Text
2021-05-13 09:41:15 -05:00
Paul Chiusano
5d9fe5cade Adding failing transcript showing decompilation problem 2021-05-12 13:46:45 -05:00
Dan Doel
5deccda4c5 Add tests for uncons/unsnoc 2021-05-12 13:59:41 -04:00
Paul Chiusano
ca951f36db
Merge pull request #1937 from unisonweb/fix/patterns
Fix some pattern compilation issues
2021-05-12 12:04:16 -05:00
Dan Doel
4a31323811 Add some matching tests 2021-05-12 11:35:33 -04:00
Paul Chiusano
461587b799
Merge pull request #1927 from unisonweb/feature/1912
Add @typecheck block for including code snippets that are typechecked but not evaluated
2021-05-11 12:01:11 -05:00
Paul Chiusano
354ede1ea6 Elide unit from display output 2021-05-10 20:43:03 -05:00
Paul Chiusano
fedbaeb6bb Elide unit from pretty-printer of @typecheck blocks 2021-05-10 20:17:38 -05:00
Paul Chiusano
44e3983519 Fix parse bug with blocks that end with an implicit () 2021-05-10 18:13:45 -05:00
Paul Chiusano
b2d02107ad fix off by one error in pretty-printing of examples 2021-05-10 17:58:48 -05:00
Paul Chiusano
c3f19939a4 simplify transcript 2021-05-10 16:10:13 -05:00
Paul Chiusano
c83a38aff5 Add regression test 2021-05-10 16:04:58 -05:00
Paul Chiusano
903e670134 checking this in even though output is wrong 2021-05-10 16:00:03 -05:00
Paul Chiusano
dfa13aff8d add @typecheck doc syntax 2021-05-10 14:56:05 -05:00
Paul Chiusano
4ce85400d5 Block examples (not working yet) 2021-05-10 10:58:19 -05:00
mergify[bot]
ca7b32d1ca
Merge pull request #1909 from unisonweb/fix/1890
Stop using old `io.Mode` and `io.BufferMode` types in favor of versions in `io2` package
2021-05-07 18:55:22 +00:00
Paul Chiusano
160e0076e5 Revert "Bump version number of openFile, getBuffering, setBuffering"
This reverts commit 71e8495264.
2021-05-07 10:57:04 -05:00
mergify[bot]
98f2ed3b74
Merge pull request #1895 from unisonweb/wip/codebase2-cleanup
v2 (sqlite) codebase format
2021-05-07 06:07:51 +00:00
Paul Chiusano
71e8495264 Bump version number of openFile, getBuffering, setBuffering 2021-05-06 18:51:48 -05:00
Dan Doel
3a2254b96e Transcript updates 2021-05-06 16:21:00 -04:00
Dan Doel
8f2dea5835 True was defined to be False
- Added some truth table tests to a transcript.
2021-05-05 20:20:41 -04:00
Dan Doel
112cdb4de7 Add a test case for the as patter mixup 2021-05-05 16:10:36 -04:00