Richard Feldman
7eba683355
s/bin_op/binop/g
...
This is the term we use elsewhere in the compiler
2022-07-06 16:42:53 -04:00
Folkert
6e664b466f
fix merge conflict
2022-07-06 22:35:14 +02:00
Folkert de Vries
957c4258b1
Merge pull request #3409 from rtfeldman/i3224
...
Compile lambdas that have an empty lambda set
2022-07-06 22:22:48 +02:00
Folkert
1eee494557
format defs and ignore the spaces inbetween
2022-07-06 22:02:32 +02:00
Ayaz Hafiz
54afed12a3
Initialize capacity when storing list
2022-07-06 15:18:34 -04:00
Richard Feldman
d2476099a5
Add some tests for trailing commas in comments
2022-07-06 15:17:19 -04:00
Richard Feldman
9df5802848
Update formatter tests
2022-07-06 15:10:17 -04:00
Richard Feldman
4c5eb9b796
Ensure comments begin with space or newline
2022-07-06 15:10:17 -04:00
Richard Feldman
bd194af67c
Fix edge case in ensure_ends_in_newline
2022-07-06 15:10:17 -04:00
Richard Feldman
3195e0cff3
Improve a debug_assert! message
2022-07-06 15:10:17 -04:00
Richard Feldman
ca0b40cd9d
Use a pattern match over ==
2022-07-06 15:10:16 -04:00
Richard Feldman
267bae5dec
Don't add more newlines than necessary
2022-07-06 15:10:16 -04:00
Richard Feldman
87b7a9ba3b
Update formatter tests
2022-07-06 14:01:53 -04:00
Richard Feldman
7e12171b76
roc format builtins
2022-07-06 14:00:40 -04:00
Richard Feldman
01434c8e28
Don't over-indent type alias defs
2022-07-06 13:55:45 -04:00
Richard Feldman
23a02a7a75
Don't over-indent module header collections
2022-07-06 13:46:11 -04:00
Ayaz Hafiz
194d92ceea
Remove duplicate definition
2022-07-06 13:12:18 -04:00
Ayaz Hafiz
89e356b5eb
Ambient lambda set unification means we can have nice things again
2022-07-06 13:08:59 -04:00
Ayaz Hafiz
640ca78bc5
Simplify the lambda set instantiation process
2022-07-06 13:08:59 -04:00
Ayaz Hafiz
ae7ad36d60
Import ambient functions into storage subs properly
2022-07-06 13:08:59 -04:00
Ayaz Hafiz
6c79efa43a
Add comment
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
a2906995e0
Replace flex vars with lambda set vars during type_to_var
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
44ecb13033
Remove dead comment
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
f3e16b5460
Ignore some deriver tests for now
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
ebcd323449
Use strict unification of vars in unspecialized lambda sets right now
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
a1152934f5
Check in the ambient lambda set specialization doc
2022-07-06 13:08:58 -04:00
Ayaz Hafiz
0b427646e4
Continued progress on new lambda set compaction algorithm
2022-07-06 13:08:57 -04:00
Ayaz Hafiz
5534577a90
Embed new lambda set specialization algorithm
2022-07-06 13:08:56 -04:00
Ayaz Hafiz
62260a2c1d
Clippy
2022-07-06 13:04:30 -04:00
Ayaz Hafiz
918e808aff
Link ambient functions of alias lambda set variables
2022-07-06 13:04:30 -04:00
Ayaz Hafiz
5d74a376af
Attach ambient function vars to lambda sets
2022-07-06 13:04:29 -04:00
Ayaz Hafiz
8d2d0b02db
Fix mono tests
2022-07-06 12:57:58 -04:00
Ayaz Hafiz
20a9a9765a
Disable wasm test for now
2022-07-06 12:49:03 -04:00
ayazhafiz
b6ebb960c9
Update mono tests
2022-07-06 12:49:03 -04:00
ayazhafiz
efbd1bf4c7
Add unbound runtime error function var gen test
2022-07-06 12:49:02 -04:00
ayazhafiz
ab75de39d6
Fix gen for runtime error functions
2022-07-06 12:49:02 -04:00
ayazhafiz
41e63c8576
Add missing mono test
2022-07-06 12:49:02 -04:00
ayazhafiz
aa90c3dfb6
Unresolved type var for list map unbound function
2022-07-06 12:49:02 -04:00
ayazhafiz
937b73b797
Compile lambdas that have an empty lambda set
...
Closes #3224
This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
2022-07-06 12:49:01 -04:00
Folkert de Vries
b28561d1c9
Merge branch 'trunk' into dylib-roc-benchmarks
2022-07-06 18:39:16 +02:00
Folkert
c54d824950
for now, substring takes a borrowed argument
2022-07-06 17:59:49 +02:00
Folkert
36b42fb62b
use existing capacity in Str.concat if possible
2022-07-06 17:59:48 +02:00
Richard Feldman
7365da6f69
Merge pull request #3370 from rtfeldman/list-unreachable
...
List unreachable
2022-07-06 10:45:50 -04:00
Richard Feldman
c9346b0744
Merge pull request #3418 from rtfeldman/repl-expect
...
repl expect
2022-07-06 09:40:40 -04:00
Ayaz Hafiz
f940cc18c1
Consolidate calling specialized proc
2022-07-06 09:12:02 -04:00
Ayaz Hafiz
634d4c534a
Add gen test for recursive capture call
2022-07-06 09:11:02 -04:00
Ayaz Hafiz
91b89675ef
Remove commented code
2022-07-06 09:11:01 -04:00
Ayaz Hafiz
b868e0e469
Handle recursive calls to capturing function
2022-07-06 09:10:31 -04:00
Ayaz
d07c273542
Merge pull request #3402 from rtfeldman/promote-large-numbers
...
Promote large number layouts when they don't fit in I64s
2022-07-06 08:50:46 -04:00
Folkert
0d59429061
primitives in the CLI for running top-level expectations
2022-07-06 14:17:50 +02:00