Commit graph

5795 commits

Author SHA1 Message Date
Richard Feldman
fd60e1c67f Update README 2020-12-31 16:01:04 -05:00
Folkert
81bfea53e2 fix some uniqueness problems 2020-12-31 21:36:49 +01:00
Folkert
4c34312871 fix missing type variable in List.get 2020-12-31 21:26:28 +01:00
Folkert
288190281b remove Cond from gen_dev 2020-12-31 21:03:58 +01:00
Folkert
5859568d92 remove Cond 2020-12-31 20:58:30 +01:00
Folkert
5ee29769a6 make cond helper and use it instead of constructing cond 2020-12-31 20:33:17 +01:00
Jared Ramirez
18d0141942 [WIP] Merge local changes with new branch 2020-12-31 13:08:50 -06:00
rvcas
1ab7dc54ad fix: gen_num tests 2020-12-30 21:18:08 -05:00
rvcas
64c4cfcea9 fix: some tests 2020-12-30 21:05:04 -05:00
rvcas
b510d6e94d fix: float error in repl 2020-12-30 20:47:11 -05:00
rvcas
9dbcfb7a97 Merge branch 'temp_numbers' into int_a_float_a 2020-12-30 19:59:20 -05:00
rvcas
c33cab57f2 Merge branch 'int-float-size-gen' into temp_numbers 2020-12-30 19:41:44 -05:00
rvcas
97fc5f12a7 Merge branch 'trunk' into int_a_float_a 2020-12-30 15:19:31 -05:00
Anton-4
657081fc3c rustfmt 2020-12-30 17:27:50 +01:00
Anton-4
fb66312a69 renamed txt_cursor to caret 2020-12-30 17:21:21 +01:00
Anton-4
dcee932495
Merge branch 'trunk' into text_highlighting 2020-12-30 17:14:55 +01:00
Richard Feldman
dc762965f5
Merge pull request #850 from rtfeldman/fix-mono-tests
Fix test_mono tests
2020-12-30 09:19:42 -05:00
Richard Feldman
8937a5d872 Fix test_mono tests 2020-12-30 08:20:47 -05:00
Anton-4
7f69e57d30 Merge branch 'trunk' of ssh://github.com/rtfeldman/roc into text_highlighting 2020-12-30 13:40:42 +01:00
Anton-4
0a46c1d48f improvements based on PR feedback 2020-12-30 13:40:36 +01:00
Richard Feldman
e385f4404b
Merge pull request #842 from rtfeldman/mono-pattern-refactor
Mono pattern refactor
2020-12-29 23:43:24 -05:00
Richard Feldman
6a0c2a4867
Merge pull request #840 from rtfeldman/editor-ast-module
Editor ast module
2020-12-29 23:26:26 -05:00
Richard Feldman
ace378a311
Merge pull request #839 from rtfeldman/ending-trailing-comma
trailing comma for lists and union tag
2020-12-29 23:25:46 -05:00
rvcas
127c4e1bcc feat: add inner var to IntLiteral and FloatLiteral 2020-12-29 20:52:54 -05:00
rvcas
d62471c73a fix: gen_list 2020-12-29 14:55:52 -05:00
rvcas
58b9908c2f feat(aliases): add Nat, Natural, and @Natural 2020-12-29 14:55:20 -05:00
Anton-4
862a85698c merge, fmt, clippy 2020-12-29 20:42:58 +01:00
Anton-4
bae3db0616 rustfmt, renamed caret to txt_cursor 2020-12-29 20:30:40 +01:00
Anton-4
2b0a320734 implemented selection with up and down arrows, closes #776 2020-12-29 20:18:59 +01:00
rvcas
75fdff4398 feat(aliases): add Int a and Float a 2020-12-29 13:35:24 -05:00
Anton-4
f67c4324d4 selection bug fixes #776 2020-12-29 19:14:16 +01:00
Jared Ramirez
791a0e9404 Use precision in mono/ir to determine which number to generate 2020-12-29 09:33:55 -06:00
Anton-4
cf7c816123 closes #836, closes #832, bug fixes for #776 2020-12-29 11:59:39 +01:00
Folkert
5e25e28033 defer mono errors so we can test that non-exhaustive patterns throw a runtime exception 2020-12-29 03:51:46 +01:00
Folkert
a5af8178a2 clippy 2020-12-29 02:37:16 +01:00
Folkert
8438b91633 move the symbol field into the Required tag 2020-12-29 02:16:21 +01:00
Folkert
b9f92851a4 remove optional fields destruct in mono pattern 2020-12-29 02:10:27 +01:00
Folkert
eb501f90a2 push optional field assignments into the branch 2020-12-29 01:49:15 +01:00
Folkert
a7efffa542 comment out tests that are blocked on a mono issue (Issue 786) 2020-12-29 01:48:31 +01:00
Folkert
edd23dc1d8 expose default assignments 2020-12-29 01:07:42 +01:00
Folkert
40b514a26d extract optional record field default assignments 2020-12-29 01:04:55 +01:00
Folkert
f8e04619b8 remove UnsupportedPattern variant in mono patterns 2020-12-29 00:48:56 +01:00
Folkert
fefb1f3739 error on non-exhaustive pattern in let 2020-12-28 23:22:54 +01:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Folkert
794f8c4d41 remove Shadowed variant from mono pattern 2020-12-28 23:14:04 +01:00
Folkert
4cdde12823 add tests 2020-12-28 22:34:27 +01:00
Folkert
a5d58c4a7f introduce aliases into scope 2020-12-28 22:18:16 +01:00
Jared Ramirez
5e332cbad9 [WIP] F32 gen 2020-12-28 14:50:01 -06:00
Jared Ramirez
9b1769b3fb Add basic tests for number gen 2020-12-28 14:50:01 -06:00
Sébastien Besnier
70b3b77ac0 fixing tests compiling issues 2020-12-28 21:36:22 +01:00