Commit graph

2451 commits

Author SHA1 Message Date
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
rvcas
eda5b72060 Merge branch 'trunk' into new_num_layer 2020-12-23 08:24:19 -05: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
rvcas
e91fc2f1ff fix: clean up uniq and adjust PatternCategory for int type in constrain 2020-12-22 09:05:19 -05:00
rvcas
3ea4858eb5 fix(clippy): do not need let binding 2020-12-22 09:05:19 -05:00
rvcas
d08757f161 fix: uniqueness for Num types 2020-12-22 09:05:19 -05:00
rvcas
aa4b376134 add new layer to the Num types 2020-12-22 09:05:19 -05:00
Celso Bonutti Filho
bbb7ee7ed1 updates List.last LowLevel ops comments 2020-12-21 19:50:08 -03:00
Celso Bonutti Filho
51a302957f adds List.last 2020-12-21 19:44:24 -03:00
rvcas
143376d04c fix(clippy): do not need let binding 2020-12-21 11:45:05 -05:00
rvcas
d1ae3b47af fix: uniqueness for Num types 2020-12-21 11:15:05 -05:00
rvcas
c9308c0662 add new layer to the Num types 2020-12-21 09:56:11 -05:00
Folkert de Vries
2972437fce
Merge branch 'trunk' into fixing-exceptions 2020-12-21 02:30:39 +01:00
Folkert
725d52f7c6 make exceptions work on linux again 2020-12-21 02:12:30 +01:00
Celso Bonutti Filho
0a24f3b4b4 adds Num.bitwiseAnd 2020-12-20 19:55:10 -03:00
Folkert
7bedc3ff6e ident and tags 2020-12-18 00:53:31 +01:00
Richard Feldman
90bf0b3ace
Merge pull request #805 from rtfeldman/parse-to-edit-ast
Parse to edit ast
2020-12-15 22:44:56 -05:00
Folkert
421e652edb Merge remote-tracking branch 'origin/trunk' into parse-to-edit-ast 2020-12-16 00:29:27 +01:00
Folkert
8b289f3398 simple literals in editor ast 2020-12-15 17:00:08 +01:00
Anton-4
6e3bd69e7c rust fmt 2020-12-15 15:21:20 +01:00
Richard Feldman
46a84fcbca
Merge pull request #802 from rtfeldman/large_enum_comment
Replaced large_enum_variant explanation with link to issue #800
2020-12-14 22:08:05 -05:00
Folkert
434c6504df increment result of List.get 2020-12-14 21:30:55 +01:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Richard Feldman
d59352d9b4 Fix outdated comment 2020-12-13 22:54:40 -05:00
Richard Feldman
0b620539ef Report accurate regions in unused imports 2020-12-13 22:51:23 -05:00
Richard Feldman
860b120037 Merge remote-tracking branch 'origin/trunk' into more-tea 2020-12-13 22:50:10 -05:00
Folkert de Vries
3d9b82e35e
Merge branch 'trunk' into more-tea 2020-12-14 02:30:04 +01:00
Folkert
6704208fc7 more imported function fixes 2020-12-14 02:08:40 +01:00
Folkert
5e29ee1576 give a bit more debug info when a function fails to codegen 2020-12-14 01:59:07 +01:00
Folkert
99a95b7200 make sure the app and Pkg-Config have different names
otherwise there could be naming conflicts. for the mono tests, we must rename the app module to our tests continue to work
2020-12-14 01:57:42 +01:00
Folkert
879cbfabe4 fix bug with imported values 2020-12-14 01:11:28 +01:00
Richard Feldman
c789885499 Merge remote-tracking branch 'origin/trunk' into add-builtin-num-aliases 2020-12-13 18:49:00 -05:00
Richard Feldman
86c14d5c55
Merge pull request #797 from rtfeldman/better-top-level-thunks
TEA-style applications!
2020-12-13 18:39:30 -05:00
Folkert
173f84400e specialize symbol in record construction 2020-12-13 23:29:31 +01:00