Dan Doel
86fdd87eb3
More matching in the pattern-matching test
2021-02-10 16:07:57 -05:00
Scott Christopher
72f1e3754f
Fix delete.term-replacement to support coinciding type and term names
...
Resolves #1804
Removes names from `hqNameQuery` misses in `doRemoveReplacement` when the relevant type or term exists in both.
2021-02-10 22:21:17 +10:30
Stew O'Connor
6a5230ffc7
get rid of unneded constructors
2021-02-01 00:12:11 -08:00
Stew O'Connor
258ec6357f
Add an Any parameter to the Failure type
2021-01-28 13:57:03 -08:00
Stew O'Connor
17fe0e6e19
Merge remote-tracking branch 'origin/trunk' into stew/tls-testing
2021-01-23 01:25:52 -08:00
Stew O'Connor
71aeeee669
tls tests are working woot
2021-01-23 00:57:23 -08:00
Dan Doel
c3bd993b9a
Fix transcripts for added builtins
2021-01-14 14:28:58 -05:00
Dan Doel
22cce8b61f
Use TVar.swap in transcript
2021-01-14 14:17:34 -05:00
Stew O'Connor
550d577e11
lots of IO tests working
...
we have transcripts for threads, mvars, net.
2021-01-13 14:20:57 -08:00
Dan Doel
2a2490c4d0
Add an stm test transcript
2021-01-13 14:35:19 -05:00
Dan Doel
65cb9a0668
Merge branch 'trunk' into topic/serial-tests
2021-01-08 10:49:06 -05:00
Dan Doel
6a771e72f7
Update transcript output
2021-01-07 16:20:29 -05:00
Dan Doel
a3cc84075e
Implement Bytes serialization + assorted tweaks
2021-01-07 16:18:08 -05:00
Dan Doel
bb6490feb8
Beef up code serialization tests even more
...
- Tests fail because Bytes serialization isn't implemented yet.
2021-01-06 11:11:24 -05:00
Arya Irani
e2df2eff3e
update trunk for ghc 8.10.2
2020-12-22 11:58:24 -05:00
Stew O'Connor
a648ac879f
Merge remote-tracking branch 'origin/trunk' into stew/tls-testing
2020-12-15 11:45:38 -08:00
Stew O'Connor
9cd94014b2
Adding a not yet working TLS transcript
2020-12-15 11:20:42 -08:00
Paul Chiusano
b586abb8f0
Merge pull request #1770 from unisonweb/topic/any
...
`Any` builtin type
2020-12-11 12:33:15 -05:00
Paul Chiusano
fc77e9a359
Switch to simpler runtime representation. Tests pass. Regenerating transcripts.
2020-12-11 10:49:25 -05:00
Dan Doel
17852f7534
Added hash
and hmac
calls to the hashing transcript
2020-12-10 16:32:56 -05:00
Paul Chiusano
75c8d3a53c
non-working Any
type
2020-12-10 14:25:19 -05:00
Dan Doel
4632c10791
Add a test case
2020-12-09 11:06:22 -05:00
Paul Chiusano
6b94ab70c8
Merge pull request #1766 from unisonweb/fix/ability-unification
...
A couple fixes to ability unification
2020-12-07 14:10:32 -05:00
Paul Chiusano
9d5df9db1a
Merge pull request #1735 from wbadart/patch-1
...
Quick grammar fix in OutputMessages.hs
2020-12-07 11:01:39 -05:00
Stew O'Connor
c7a7fe95fe
Make changes requested by @pchiusano (thanks!)
2020-12-03 17:23:02 -08:00
Will Badart
faae761742
Update transcripts
2020-12-03 11:32:18 -05:00
Dan Doel
5d80a8ddb2
Minimal change for improved ability inference
...
- This commit delays making up inference variables until the
outermost universal quantifiers of a type annotation have
been unwrapped and added to the context. However, failures
can still be generated by putting quantifiers inside other
connectives.
2020-12-03 10:23:33 -05:00
Stew O'Connor
1a36beec09
re-run transcripts
2020-12-02 16:27:45 -08:00
Stew O'Connor
d1d09d9197
Merge branch 'trunk' into feature/tls
2020-12-02 15:22:01 -08:00
Stew O'Connor
ab063bc444
fixing transcripts for utf8 and hashing
2020-12-02 14:11:54 -08:00
Stew O'Connor
037cc9e4dc
clean up some comments in code, add more comments to transcript
2020-12-02 11:03:21 -08:00
Stew O'Connor
6fcf370065
all the tests in the io transcript are finally passing
2020-12-01 13:05:29 -08:00
Dan Doel
e4961c84b2
Fix test case; improve transcript test and add output
2020-11-25 21:12:09 -05:00
Dan Doel
b059ef26b4
Add a failing transcript for the bug
2020-11-25 13:20:47 -05:00
Paul Chiusano
d706550926
Merge pull request #1748 from unisonweb/topic/mobile-code
...
Finish implementing code serialization support
2020-11-24 17:27:56 -05:00
Paul Chiusano
21abeaad09
Merge pull request #1752 from unisonweb/fix/1731
...
Avoid parsing erroneous patterns
2020-11-24 17:15:52 -05:00
Dan Doel
4bc0b9984f
Fix erroneous transcript updates.
2020-11-24 16:36:59 -05:00
Dan Doel
7a1d39294b
Beef up code operation test transcript
2020-11-24 15:57:41 -05:00
Dan Doel
8f0901f435
Transcript modifications
...
- I attempted to determine where the extra newlines came from,
but I failed.
2020-11-24 14:18:15 -05:00
Paul Chiusano
ca5efc3998
working on removing some backtracking
2020-11-20 12:53:34 -05:00
Paul Chiusano
20e56766a1
Merge remote-tracking branch 'origin/trunk' into topic/lexer2
2020-11-19 20:21:04 -05:00
Paul Chiusano
f4a7ebeea9
rerun transcripts
2020-11-19 20:20:51 -05:00
Paul Chiusano
0a5c9bb648
All tests and transcripts passing
2020-11-19 14:05:07 -05:00
Dan Doel
e238b57425
Tweak transcript to not rely on IO loopholes
2020-11-18 14:04:02 -05:00
Dan Doel
2699b6c470
Pre-calculate abilities involved in pattern matching
...
- Previously, the type checker was not using the patterns to inform
which abilities are matched on in cases at all.
- Instead, we walk through all patterns and compile a list of all
abilities involved in matching, then perform a subtype check on
the scrutinee type with a type consisting of all the abilities.
- This strategy seems to be more robust than trying to handle this
case-by-case. In such scenarios, recursion can lead to additional
effects being pushed into the `Request` type that are not informed by
the pattern matching.
- This causes the 1696 transcript to fail appropriately (I believe).
2020-11-17 17:03:28 -05:00
Dan Doel
37a36dce40
Fix type of Code.cache_
2020-11-16 14:02:14 -05:00
Stew O'Connor
34c284cc72
more things working, starting a transcript
...
- renamed many of the foreign calling confention functions
- fixed implementations of several IO functions
- added IO.createTempDirectory to create temporary directories which
will be useful for testing
- started working on a transcript, but don't yet have a strategy for
testing IO using transcripts
2020-11-13 12:25:21 -08:00
Dan Doel
29bd6668d0
Add a test transcript for code ops, with fixes
...
- The value serializatiaon prim-ops were hooked up backwards.
2020-11-12 11:43:39 -05:00
Paul Chiusano
a07011f1de
Adding a test case that fails in the wrong way
2020-11-11 12:33:46 -05:00
Paul Chiusano
097a85f111
Add failing transcript
2020-11-11 11:41:55 -05:00