Commit Graph

6996 Commits

Author SHA1 Message Date
Arya Irani
2cf96a36ae
deprecate cd, up; add find-in (#4883)
* deprecate `cd`, `up`, hide `reset-root`, add `find-in`, hides unimplemented `update.builtins`
Co-authored-by: Chris Penner <christopher.penner@gmail.com>
2024-04-28 21:30:02 -04:00
Arya Irani
542b7864ee
Merge pull request #4897 from unisonweb/fix/jit-duplicate-defns
Fix duplicate definitions in jit when using scratch files
2024-04-22 11:58:42 -04:00
Dan Doel
9d1e2308a8 Fix duplicate definitions in jit when using scratch files 2024-04-19 16:35:17 -04:00
Dan Doel
b2a2107675 Add fromBytes to IOSource and decompile with it 2024-04-18 16:20:21 -04:00
Dan Doel
6812d663de Add ImmutableArray.fromList to IOSource and use it for decompiling 2024-04-18 13:44:56 -04:00
Arya Irani
ac4d817f5e
Merge pull request #4887 from unisonweb/topic/jit-eval-side-channel
Use a socket to communicate with the jit runtime process
2024-04-17 16:06:06 -04:00
dolio
7667b1a958 automatically run ormolu 2024-04-16 18:27:23 +00:00
Dan Doel
12ec621d23 Add back padding when errors/traces actually occur 2024-04-16 14:26:28 -04:00
Dan Doel
383a6695d7 Decompile partially applied builtin functions 2024-04-16 14:10:29 -04:00
Dan Doel
c3ac632507 Merge remote-tracking branch 'refs/remotes/origin/topic/jit-eval-side-channel' into topic/jit-eval-side-channel 2024-04-16 13:25:43 -04:00
Dan Doel
90dffe3e9b Add a note about port 0 listening 2024-04-16 13:16:27 -04:00
dolio
6a28cf5322 automatically run ormolu 2024-04-16 17:15:47 +00:00
Dan Doel
d9378fdd52 Use a thread for communication with jit runtime
Avoids potential lock ups if the runtime process exits before connecting
back.

Also includes some error formatting to avoid empty lines and empty stack
traces.
2024-04-16 13:06:17 -04:00
Dan Doel
087bc3e3a0 Add separate communication channel with jit runtime 2024-04-16 12:03:46 -04:00
Arya Irani
972a63e537
Merge pull request #4869 from unisonweb/topic/jit-error-detection
Check the exit code during native evaluation
2024-04-09 17:31:44 -04:00
Arya Irani
957ee53029
Merge pull request #4870 from unisonweb/cp/diff-by-namespace
Updates for Share diffs feature
2024-04-09 15:53:31 -04:00
Dan Doel
9efad2b3eb Check the exit code during native evaluation 2024-04-08 12:34:57 -04:00
guqicun
d525cb5454 chore: remove repetitive words
Signed-off-by: guqicun <guqicun@outlook.com>
2024-04-06 18:51:15 +08:00
Arya Irani
ce93889251
Merge pull request #4818 from unisonweb/24-03-20-fix-decl-printer-bug
bugfix: don't go looking for field names of a hash-only decl
2024-04-05 16:35:45 -06:00
Mitchell Rosen
3a6cf53d33 fix compiler error 2024-04-05 16:13:57 -04:00
Mitchell Rosen
7a1994bd34 clarify that sometimes we do expect typechecking accessors to fail 2024-04-05 10:41:09 -04:00
Chris Penner
5e0e70ecd0 Expose builtin term type references 2024-04-03 16:06:12 -07:00
Chris Penner
c057a76da9 Rename testResultType -> testResultListType 2024-04-03 15:30:08 -07:00
dolio
7a6757a433 automatically run ormolu 2024-04-01 20:21:30 +00:00
Dan Doel
5a4de510bd Fix a problem with rehashing from scratch files
Was causing run.native of terms in a scratch file to fail after the
first time.
2024-04-01 16:07:16 -04:00
Arya Irani
a0eb9a17f4
Update parser-typechecker/src/Unison/Util/Text/Pattern.hs 2024-03-29 16:48:40 -04:00
Dan Doel
eaee313440 Split corrected many pattern into two patterns 2024-03-29 12:39:30 -04:00
Arya Irani
eac180f851
Merge pull request #4822 from unisonweb/travis/kind-inference-docs
Improve kind inference docs
2024-03-22 11:15:32 -06:00
Travis Staton
587267a151
document kind inference constraint generation 2024-03-22 11:58:34 -04:00
Travis Staton
2a6708d2b5
document kind inference solver 2024-03-22 11:27:19 -04:00
Mitchell Rosen
1218b988e7 ⅄ trunk → 24-03-20-fix-decl-printer-bug 2024-03-22 09:32:41 -04:00
Mitchell Rosen
2a465ed97a bugfix: don't go looking for field names of a hash-only decl 2024-03-21 17:08:32 -04:00
Travis Staton
9856de82f0
StarProvenance -> TypeProvenance 2024-03-21 16:13:01 -04:00
Travis Staton
6162ba0ce5
docs, module rearrangement 2024-03-21 15:58:42 -04:00
Travis Staton
697cc11916
kind inference docs 2024-03-21 15:36:50 -04:00
Arya Irani
1e6f0daae9
Merge pull request #4808 from unisonweb/24-03-18-tweak-tdnr-visibility
bugfix: tweak name priority for tdnr
2024-03-20 17:43:19 -06:00
Mitchell Rosen
333f43116d move generateRecordAccessors into its own module 2024-03-20 14:29:33 -04:00
Mitchell Rosen
c23801e3d5 fix bug in resolveNote 2024-03-19 14:19:05 -04:00
Arya Irani
48f5a30854
Merge pull request #4790 from unisonweb/fix/pattern-many
Fix many pattern not backtracking
2024-03-18 21:12:15 -06:00
Mitchell Rosen
0c4c711934 more typechecker refactoring 2024-03-18 17:08:23 -04:00
Mitchell Rosen
75ff7fae50 make suggestion have a proper name 2024-03-18 15:38:57 -04:00
Mitchell Rosen
e1fa352f46 fix bug in renderSuggestion 2024-03-18 15:29:17 -04:00
Mitchell Rosen
8f2e1232c6 typechecker refactoring 2024-03-18 15:27:39 -04:00
pchiusano
027e521824 automatically run ormolu 2024-03-17 03:19:42 +00:00
Paul Chiusano
8b0b485536 Don't always allow use clauses in do. Only do so if it's top level or contains a block. 2024-03-16 22:18:43 -05:00
pchiusano
c4159e138b automatically run ormolu 2024-03-16 14:19:01 +00:00
Paul Chiusano
109a4de506 Prefer do in pretty-printer 2024-03-16 09:10:48 -05:00
Arya Irani
7d95ed583a
Merge pull request #4784 from unisonweb/format/aryairani-patch-4
autoformat aryairani-patch-4
2024-03-13 16:00:42 -04:00
Dan Doel
96d6224b52 Fix many pattern not backtracking 2024-03-13 15:34:39 -04:00
Chris Penner
3d95906195 Update transcripts 2024-03-13 11:52:29 -07:00