Commit Graph

7294 Commits

Author SHA1 Message Date
Arya Irani
bb3b5f1c9e
Merge pull request #5382 from unisonweb/name-capture-bug 2024-10-01 13:38:27 -04:00
Rúnar
07490f5fe0 Revert parens change 2024-10-01 12:43:00 -04:00
Mitchell Rosen
dc5f514ad1 fix test suite 2024-10-01 08:59:46 -04:00
Rúnar
6ed04cd168 Merge branch 'trunk' of https://github.com/unisonweb/unison into topic/infixfix 2024-09-30 15:40:40 -04:00
Rúnar
6f3f9e3a8d Fix infix printer 2024-09-30 15:28:31 -04:00
Arya Irani
3327c8a95c
Merge pull request #5370 from unisonweb/fix-tdnr-name-resolution-bugs 2024-09-30 12:16:12 -04:00
Mitchell Rosen
0d56c419d9 fix name capture bug 2024-09-30 11:26:04 -04:00
Greg Pfeil
30a49f656c
Make annotations on Doc more consistent
This does all `Doc` annotations with `Cofree`. As a consequence, some
types have been broken apart and constraints that were mentioned in
comments before are now encoded in the types. The only remaining direct
recursion is now between `Column` and `List`.

This is a precursor for unit testing Doc parsing, as this allows us to
drop all annotations from the Doc structure, making it much less
fragile.
2024-09-26 14:58:32 -06:00
Greg Pfeil
1dcc332a0d
Move recursion schemes to separate package 2024-09-26 12:59:14 -06:00
Mitchell Rosen
5b7c9287dc revert to storing top level components in the typechecker env instead because 2024-09-25 18:15:30 -04:00
Mitchell Rosen
02d3332c2a fix weird tdnr + name resolution bug 2024-09-25 16:00:26 -04:00
Arya Irani
df6b493f29
Merge pull request #5366 from unisonweb/topic/jit-optimize 2024-09-25 12:51:39 -04:00
Dan Doel
6994352321 Add a flag to compile.native that enables profiling 2024-09-24 11:27:39 -04:00
Mitchell Rosen
e1a7fd874f don't truncate long names in some output messages 2024-09-23 16:20:11 -04:00
Mitchell Rosen
4d7077291d add back suffixifyByHash, call the new thing suffixifyByHashName 2024-09-19 18:28:27 -04:00
Arya Irani
b08cbb02a6
Merge pull request #5324 from unisonweb/fix-5323
bugfix: fix suffixification logic in upgrade
2024-09-03 14:00:32 -04:00
Arya Irani
3202e618b4
Merge pull request #5300 from unisonweb/travis/kind-inference-fix
Fixes #5293: Generate IsAbility constraint for ability sets
2024-09-03 11:50:53 -04:00
Mitchell Rosen
20b67e636c fix upgrade ppe 2024-09-03 10:08:12 -04:00
Mitchell Rosen
1b741a2586 make term parser consider lower.Upper a constructor pattern 2024-09-01 11:52:18 -04:00
Arya Irani
cede8805ee caught a few more unused packages 2024-08-30 18:21:51 -04:00
Arya Irani
b17640ae70
Merge pull request #5308 from unisonweb/cp/split-off-runtime
Split off `unison-runtime` package
2024-08-30 17:59:35 -04:00
Arya Irani
bbf7352dae
Merge pull request #5014 from unisonweb/cp/remove-sync22
Remove Sync22
2024-08-30 14:21:22 -04:00
ChrisPenner
18a0e8b0f5 automatically run ormolu 2024-08-30 18:15:16 +00:00
Chris Penner
c984091402 Re-merge trunk 2024-08-30 11:14:09 -07:00
Chris Penner
c5c0d89b2a Clean up packages from test components 2024-08-29 15:10:34 -07:00
Chris Penner
1eaa4c5678 Add unused package warning 2024-08-29 12:55:31 -07:00
Chris Penner
2fa330b92e Split off unison-runtime package 2024-08-29 12:49:20 -07:00
Mitchell Rosen
66afce3205 ⅄ trunk → 24-08-27-parser-fix 2024-08-29 14:07:17 -04:00
Arya Irani
d3d3dbba71
Merge pull request #5294 from SimaDovakin/numbers-binary-notation
Numbers binary notation
2024-08-29 10:15:37 -04:00
Mitchell Rosen
5e456c9dad fix 5301 2024-08-28 14:10:22 -04:00
Mitchell Rosen
a783bf3a06 fix import 2024-08-27 19:52:37 -04:00
Mitchell Rosen
2354c90c9b delete unused import 2024-08-27 19:34:25 -04:00
Mitchell Rosen
24a6c9b3ea clean some code up and fix pattern-match-coverage.md 2024-08-27 19:29:29 -04:00
Mitchell Rosen
01d3454508 revert a couple now-unnecessary changes 2024-08-27 18:03:14 -04:00
Mitchell Rosen
6dd0fead5a fix namespace directive + type link case 2024-08-27 17:26:40 -04:00
Mitchell Rosen
9346865a30 fix warning in test file 2024-08-27 16:54:11 -04:00
Mitchell Rosen
2942ed62fe fix handling of namespace blocks in term parser 2024-08-27 15:09:18 -04:00
SimaDovakin
3b2a25eff6 Merged trunk branch and resolved conflicts. 2024-08-27 10:53:23 +03:00
Mitchell Rosen
0bed3fcc7f delete commented-out code 2024-08-26 13:54:10 -04:00
Mitchell Rosen
989265816e ⅄ trunk → term-name-resolution-change 2024-08-26 13:50:39 -04:00
Mitchell Rosen
38c148272f fix missing record field 2024-08-26 13:49:43 -04:00
Arya Irani
6299fc3eb4
Merge pull request #5299 from unisonweb/cp/kill-config
Kill Configurator
2024-08-26 13:44:37 -04:00
Mitchell Rosen
bbb04d9da2 get the transcripts passing (but a couple are still broken) 2024-08-26 13:37:19 -04:00
Travis Staton
01e27492c1
Fixes #5293: Generate IsAbility constraint for ability sets 2024-08-26 11:32:18 -04:00
Chris Penner
2e71dff47d Kill Configurator and Unison Config 2024-08-25 15:21:27 -07:00
Rúnar
e9ca76f651
Merge pull request #5273 from unisonweb/precedence
Add infix operator precedence rules
2024-08-23 21:21:13 -04:00
Rúnar
8a70414fdf More parens around do blocks 2024-08-23 19:17:24 -04:00
Rúnar
eefacbf48b Remove comments 2024-08-23 15:51:26 -04:00
Mitchell Rosen
7cb62a2856 delete now-unused UnknownAbilityConstructor/UnknownDataConstructor errors 2024-08-23 12:20:25 -04:00
Mitchell Rosen
82d012fdb1 emit a proper resolution result for constructors 2024-08-23 12:08:22 -04:00