Commit graph

30 commits

Author SHA1 Message Date
Anton-4
48bf8681bc
clippy fix 2022-11-08 13:42:07 +01:00
Anton-4
bb3eed6ae7
fix "failed to truncate shared file"
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-11-08 13:12:03 +01:00
Folkert
92cc120c7f
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-11-05 12:21:37 +01:00
Richard Feldman
c03dc17ab4
Merge remote-tracking branch 'origin/main' into repl 2022-11-05 01:04:44 -04:00
Folkert
66a1ba00eb
1.65 clippy fixes 2022-11-03 16:20:37 +01:00
Richard Feldman
b7d3c77b76
Have the repl eval anyway if there are errors 2022-10-27 18:47:32 -04:00
Folkert
b4878e5550
Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects 2022-10-24 18:39:30 +02:00
Ayaz Hafiz
5164994fb5
Do not attempt to lookup functions in expects
Functions are not useful to print in expect results, because they are
only printed opaquely as `<function>`. Moreover, their transformation to
closure sets during mono can be extremely lossy, up to and including the
elision of symbols for function closure symbols. As such, simply do not
attempt to lookup or print functions referenced in expects.

Closes #4389
2022-10-24 10:28:56 -05:00
Ayaz Hafiz
2a21cd8c6e
Resolve ability specializations looked up in expects 2022-10-18 01:04:21 +02:00
Ayaz Hafiz
d26e9c81e0
Resolve ability specializations looked up in expects 2022-10-17 17:56:48 -05:00
Folkert
84178c66e1
move around some libc code 2022-10-18 00:20:01 +02:00
Ayaz Hafiz
c5cdab1ff9
Only ftruncate shm_open'd file once, and add some error messages 2022-10-17 09:45:34 -05:00
Folkert
b09c631895
cleanup 2022-10-05 23:59:29 +02:00
Folkert
8c4a2f58fc
working expects in roc dev 2022-10-05 22:17:40 +02:00
Folkert
67494e9df2
thread layout interner to repl_expect 2022-10-05 22:17:40 +02:00
Folkert
a5cb759a82
rename 2022-10-05 22:17:40 +02:00
Folkert
bdec61d5bb
fix bug in expect serialization of lambda sets 2022-09-16 22:19:55 +02:00
Ayaz Hafiz
ed04c2040a
Push the layout interner through the backends 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.

This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05:00
Folkert
f8fba56b0a
improve how we deal with the expect memory buffer 2022-08-13 00:01:05 +02:00
Folkert
3aa4ebb02f
get expect-fx to actually run 2022-08-12 23:03:01 +02:00
Folkert
6c77ee2c00
expect-fx runner implementation 2022-08-12 15:08:29 +02:00
Folkert
82c07590db
thread fx expects to the runner 2022-08-12 14:42:30 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Richard Feldman
d260d1e593
Make entry points optional in code gen 2022-08-03 19:50:24 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules 2022-08-03 19:49:48 -04:00
Folkert de Vries
8f67129eae use platform-independent tempdir 2022-08-03 21:58:02 +02:00
Folkert
dbbbc32583
changes after review 2022-07-28 16:25:14 +02:00
Folkert
e19b272a9e
test expect reporting 2022-07-27 13:51:12 +02:00
Folkert
64c2d8d87e
move expect running logic into repl_expect 2022-07-26 21:15:16 +02:00