Sébastien Besnier
|
3d0a5aa89a
|
format multline litera list with trailing comma
|
2020-12-28 18:37:41 +01:00 |
|
Sébastien Besnier
|
83aa5c1642
|
add final_comments to List's AST
|
2020-12-28 18:17:56 +01:00 |
|
Sébastien Besnier
|
04d0711251
|
multiline tests update for trailing comma
This reverts commit 4dbde30c4f6584871d3e8c54fd89b3ee27a82b72.
|
2020-12-28 17:54:44 +01:00 |
|
Sébastien Besnier
|
2f3d74e8bd
|
fix empty record with only comments in it
|
2020-12-28 17:54:35 +01:00 |
|
Richard Feldman
|
b1bf03e7a0
|
Merge pull request #830 from rtfeldman/empty-tag-union
make empty tag union compile
|
2020-12-26 23:41:44 -05:00 |
|
Richard Feldman
|
7a53003313
|
Merge pull request #826 from rtfeldman/bughunt
Throw on overflow in Num.neg/Num.abs & fix mono bug
|
2020-12-26 23:41:11 -05:00 |
|
Richard Feldman
|
16df2c8bcb
|
Merge pull request #829 from rtfeldman/functions-in-repl
Functions in repl
|
2020-12-26 23:38:53 -05:00 |
|
Folkert
|
29e726591f
|
make empty tag union compile
|
2020-12-27 01:01:18 +01:00 |
|
Folkert
|
a760a41e1f
|
repl: show error for partial application
|
2020-12-26 22:13:05 +01:00 |
|
Folkert
|
12c7b5435a
|
generate more runtime errors
|
2020-12-26 21:30:25 +01:00 |
|
Folkert
|
95e0faad30
|
show type of lambda in the repl
|
2020-12-26 21:19:45 +01:00 |
|
Folkert
|
099584f4ee
|
SendMap -> MutMap in tests
|
2020-12-26 18:37:30 +01:00 |
|
Folkert
|
b5c7c26978
|
SendMap -> MutMap
|
2020-12-26 18:12:43 +01:00 |
|
Folkert
|
2ef7072247
|
change type of exposed_vars_to_symbol
|
2020-12-26 17:46:15 +01:00 |
|
Folkert
|
0099e3e9fd
|
rely on the symbol -> var mapping from solving; don't extract var from the def itself
|
2020-12-26 17:39:16 +01:00 |
|
Folkert
|
0d17e9a879
|
only store exposed symbols in Module
|
2020-12-26 17:18:03 +01:00 |
|
Folkert
|
58507fa7d9
|
recover symbol -> variable mapping from type inference
|
2020-12-26 17:16:02 +01:00 |
|
Folkert
|
4ff06ebac5
|
remove duplication in solve.rs
|
2020-12-26 17:06:29 +01:00 |
|
Folkert
|
6209adbd5c
|
remove dead code
|
2020-12-26 17:05:01 +01:00 |
|
Folkert
|
5418dd8e76
|
clippy
|
2020-12-26 00:52:37 +01:00 |
|
Folkert
|
125146aac7
|
Merge remote-tracking branch 'origin/trunk' into bughunt
|
2020-12-26 00:51:22 +01:00 |
|
Folkert
|
59d6cdba04
|
make Num.neg raise on overflow
|
2020-12-26 00:50:09 +01:00 |
|
Folkert
|
f0ce8006d2
|
factor out basic_type_from_builtin
|
2020-12-26 00:48:40 +01:00 |
|
Folkert
|
51cf54e367
|
raise exception on Num.abs overflow
|
2020-12-25 21:26:29 +01:00 |
|
Folkert
|
2bcaf3921f
|
fix #333: bug with symbol in if condition
|
2020-12-25 20:14:25 +01:00 |
|
Folkert
|
917ec9c44c
|
make List.first/List.last work
|
2020-12-24 01:00:37 +01:00 |
|
Richard Feldman
|
a656778968
|
Merge remote-tracking branch 'origin/trunk' into overflow_on_mul
|
2020-12-23 15:37:55 -05:00 |
|
Brendan Hansknecht
|
f6dc256cad
|
Add simple high level todo list for dev backend
|
2020-12-23 09:44:40 -08:00 |
|
Celso Bonutti Filho
|
e7b2485a15
|
fix: ambiguous Num.subChecked test
|
2020-12-23 13:44:28 -03:00 |
|
Celso Bonutti Filho
|
c98d554328
|
test: adds tests for mulCheck and mulWrap
|
2020-12-23 13:43:34 -03:00 |
|
Celso Bonutti Filho
|
f3bd5368f0
|
feat: adds Num.mulWrap and Num.mulChecked
|
2020-12-23 13:42:18 -03:00 |
|
Celso Bonutti Filho
|
d3d3497b46
|
refactor: use function for overflow Tag in std.rs
|
2020-12-23 13:40:24 -03:00 |
|
rvcas
|
eda5b72060
|
Merge branch 'trunk' into new_num_layer
|
2020-12-23 08:24:19 -05:00 |
|
Celso Bonutti Filho
|
cfbc4d1c54
|
feat: throws exception on multiplication overflow
|
2020-12-23 10:17:16 -03:00 |
|
Celso Bonutti Filho
|
2608be3df9
|
adds missing test annotation for float_sub_checked
|
2020-12-22 23:35:25 -03:00 |
|
Celso Bonutti Filho
|
ff23ce7bec
|
fixes Num.subWrap on std.rs
|
2020-12-22 23:30:41 -03:00 |
|
Celso Bonutti Filho
|
fe588c120c
|
adds Num.subChecked
|
2020-12-22 23:27:16 -03:00 |
|
Celso Bonutti Filho
|
5d2abc2bd2
|
throws subtraction overflow error for floats
|
2020-12-22 23:26:50 -03:00 |
|
Celso Bonutti Filho
|
59b850ba50
|
uses Num.subWrap for List.last
|
2020-12-22 22:26:53 -03:00 |
|
Celso Bonutti Filho
|
313bc2ab86
|
adds tests for Num.subWrap and sub overflow
|
2020-12-22 22:18:00 -03:00 |
|
Celso Bonutti Filho
|
176cdd0274
|
adds Num.subWrap
|
2020-12-22 22:17:45 -03:00 |
|
Celso Bonutti Filho
|
c6b258c50c
|
throws error when Num.sub overflows
|
2020-12-22 22:17:18 -03:00 |
|
Folkert
|
caaf8e76c1
|
reintroduce multiple uniqueness vars in numbers
|
2020-12-22 20:13:54 +01:00 |
|
Folkert
|
232e1aa1ee
|
Merge branch 'new_num_layer' of github.com:rtfeldman/roc into new_num_layer
|
2020-12-22 19:42:29 +01:00 |
|
Folkert
|
5d07261af7
|
add extra tests for uniqueness number inference
|
2020-12-22 19:34:42 +01:00 |
|
Folkert
|
3ae7ab56e5
|
fix unique loading test output
|
2020-12-22 19:34:21 +01:00 |
|
Folkert
|
34ba2388f3
|
run List.set out of bounds only for non-unique type inference
|
2020-12-22 19:34:04 +01:00 |
|
Folkert
|
60a32bcf62
|
fix uniqueness tests
|
2020-12-22 15:19:09 +01:00 |
|
Folkert
|
9754648280
|
refactor unique int/float
|
2020-12-22 15:17:59 +01:00 |
|
rvcas
|
b734b3de58
|
fix: should not check args.is_empty()
|
2020-12-22 09:05:58 -05:00 |
|