Commit Graph

956 Commits

Author SHA1 Message Date
Paul Chiusano
41b8068b43 Fix name comparison to take into account absolute names
Transcripts all pass, but have a lot of diffs that I need to investigate
2021-08-01 17:49:24 -04:00
mergify[bot]
481a340636
Merge pull request #2259 from unisonweb/fix/2254
Allow constructor replacement during update propagation
2021-07-28 20:49:49 +00:00
Paul Chiusano
7b7801f8ae Merge remote-tracking branch 'origin/trunk' into topic/getLine
# Conflicts:
#	unison-src/transcripts/alias-many.output.md
#	unison-src/transcripts/builtins-merge.output.md
#	unison-src/transcripts/emptyCodebase.output.md
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/squash.output.md
2021-07-27 20:58:40 -04:00
Dan Doel
5f6b09416c Merge branch 'trunk' into feature/exceptions 2021-07-26 15:35:42 -04:00
Dan Doel
6a0eeab33e Improve unhandled exception message 2021-07-26 14:43:37 -04:00
Rúnar
249bf3ba25 Merge branch 'trunk' of github.com:unisonweb/unison into topic/getLine 2021-07-23 22:25:01 -04:00
Rúnar
e1e4174981 Merge branch 'trunk' of github.com:unisonweb/unison into topic/getline 2021-07-23 14:43:39 -04:00
Paul Chiusano
6695f7a9c9 comment transcript 2021-07-23 11:46:51 -04:00
Paul Chiusano
b52d80c8dd Merge remote-tracking branch 'origin/trunk' into fix/2254 2021-07-23 11:31:11 -04:00
Paul Chiusano
cd891309c7 HUZZAH!!! Works now. 2021-07-23 11:24:41 -04:00
Paul Chiusano
945203568c Add failing case to transcript 2021-07-23 10:47:48 -04:00
Paul Chiusano
8734c41948 using the root namespace now to do constructor mapping
this is much less hacky and should work as long as the namespace is forked before doing the update
2021-07-23 10:28:15 -04:00
Paul Chiusano
33ee9f54a3 Add test showing that this approach is doomed to not work, since the V2 format has no constructor names in decls 2021-07-22 18:30:25 -04:00
Paul Chiusano
074f4bbdce Moar tests 2021-07-22 17:03:56 -04:00
Paul Chiusano
e1759c6839 added some more tests 2021-07-22 16:52:39 -04:00
Dan Doel
13c02b4117 Fix up top level exception handler implementation
- The 'pure' case was implemented incorrectly
- Also fixed the implementation of putBytes, it was giving back a 'unit'
  value that was actually a handle.
2021-07-22 12:54:36 -04:00
Paul Chiusano
200bd1c964 add a record refactoring example to transcript 2021-07-21 23:33:47 -04:00
Paul Chiusano
ba800c8a2a wip 2021-07-21 19:21:56 -04:00
Paul Chiusano
2ab861e5e3 fix metadata updating 2021-07-21 17:55:43 -04:00
Paul Chiusano
3ead11235e WIP on elaborated patch application 2021-07-21 17:20:05 -04:00
Paul Chiusano
312993d1d8 Adding some debug stuff 2021-07-21 12:43:55 -04:00
Paul Chiusano
8a90cad7ef I think due to additional propagation, old types are removed from the namespace
Refreshing transcript
2021-07-21 12:01:25 -04:00
Paul Chiusano
45de1ad2ed WORKS!! 2021-07-21 11:35:54 -04:00
Paul Chiusano
c068673a0c update transcript after fixing todo output to properly fail transcripts 2021-07-20 17:53:19 -04:00
Paul Chiusano
e432d3b699 Add regression test 2021-07-20 17:41:59 -04:00
Stew O'Connor
1bb4bfbfb3 Add a getEnv IO function which fetch environment variables 2021-07-20 13:56:09 -07:00
Paul Chiusano
e74399a562 added some comments and removed extra space of indentation 2021-07-20 01:03:15 -04:00
Paul Chiusano
c0252b03c6 moar tests 2021-07-20 00:50:16 -04:00
Paul Chiusano
168afdc0ee update pretty-printer to use multi-guard syntax and improve tests 2021-07-20 00:45:03 -04:00
Paul Chiusano
f31f89085e make AbsN a complete pattern 2021-07-20 00:44:26 -04:00
Paul Chiusano
eb489a2bca Allow multiple guards to be attached to a case in the parser 2021-07-19 17:56:36 -04:00
Paul Chiusano
e190567d8f update the second example in the transcript to fail for the right reasons 2021-07-16 12:20:46 -04:00
Paul Chiusano
4fe34d4001 Fix, transcript now passes 2021-07-16 11:57:05 -04:00
Paul Chiusano
7365c5aa79 added failing regression test 2021-07-16 11:46:13 -04:00
Paul Chiusano
913a82abfc Merge remote-tracking branch 'origin/trunk' into feature/2112 2021-07-15 18:09:33 -04:00
Rúnar
0b879846e2 Add a test 2021-07-15 11:02:49 -04:00
Paul Chiusano
a2995c70dd refresh transcripts 2021-07-13 22:26:56 -04:00
Paul Chiusano
a2dd77a550
Merge pull request #2197 from unisonweb/fix/abilities
Fix some ability checking regressions.
2021-07-12 21:34:33 -04:00
Dan Doel
99ff320820 Add tests 2021-07-12 10:45:07 -04:00
Phil de Joux
1b666516b7 Delete 9 files with namespace blocks, #2189. 2021-07-09 15:18:40 -04:00
Dan Doel
c1596f3e7f Add test to codeops.md 2021-07-08 11:51:10 -04:00
Paul Chiusano
4418667b79
Merge pull request #1780 from unisonweb/topic/abilities-fixes
New ability inference algorithm that better handles recursive functions
2021-06-29 16:22:21 -04:00
Paul Chiusano
05eef2e8c7
Merge pull request #2138 from unisonweb/topic/render-synthetic-vars
fix #2053 by using Var.rawName to produce text for synthetic vars
2021-06-29 07:27:45 -05:00
Dan Doel
66ecee2e55 Add a signature to a test that now requires it 2021-06-28 11:42:02 -04:00
Simon Højberg
ef5f7314b8 Fix misspelling of definition 2021-06-24 10:54:54 -04:00
Rúnar
f69dac5f99
Merge pull request #2135 from tapegram/tavish/replace_supports_term_and_type
Create `replace.any` command to automatically update type/term as appropriate
2021-06-22 21:57:37 -04:00
Tavish Pegram
fc9feef0e4 Fix some tests 2021-06-22 17:17:30 -05:00
Tavish Pegram
095c1242f1 Update message when given a type/term mismatch 2021-06-22 16:59:30 -05:00
Tavish Pegram
cca4dc8958 Fix a couple failing tests 2021-06-22 16:14:18 -05:00
Tavish Pegram
f927458b80 replace.any -> replace and delete replace.type and replace.term 2021-06-22 16:02:27 -05:00