Commit graph

2423 commits

Author SHA1 Message Date
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
Folkert
407f8b9321 turn unused module into a warning 2020-12-13 22:21:44 +01:00
Folkert
a5e93cc21b pass arguments (e.g. Msg, Model) by-reference, so the host does not need to know their size 2020-12-13 22:08:12 +01:00
Folkert
a67a750fdc make the example loop a couple of times 2020-12-13 20:05:00 +01:00
Folkert
f00bd9ba01 fix refcount bug
closures were not incremented, but were decremented. This lead to memory corruption
2020-12-13 19:57:51 +01:00
Folkert
30e3f3bd25 clarify len to be the number of list elements 2020-12-13 19:49:49 +01:00
Jared Ramirez
fa49c0b89f
Merge branch 'trunk' into add-builtin-num-aliases 2020-12-12 18:09:16 -06:00
Jared Ramirez
c44ecbb1e5 Fix reporting tests 2020-12-12 14:01:32 -08:00
Chadtech
6d42184970
Merge branch 'trunk' into rename-map-to-dict 2020-12-12 16:28:46 -05:00
Folkert
05a6b30644 fix import of top-level thunks 2020-12-12 17:57:42 +01:00
Chadtech
bce5c2c9e8 Changed many instances of Dict and CustomDict in tests to RBTree 2020-12-12 04:28:30 -05:00
Chadtech
ec3cbc7bba Correct repl tests that suggested Map type 2020-12-12 04:27:51 -05:00
Chadtech
6b934c499b Changed Map to Dict in commented out type signatures 2020-12-12 04:26:52 -05:00
Chadtech
db477e750c Merge branch 'rename-map-to-dict' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 23:49:06 -05:00
Chadtech
ce69487519 Rename Dict in test_load tests to RedBlackTree 2020-12-11 23:48:40 -05:00
Chadtech
cd6e6e6e4f
Merge branch 'trunk' into rename-map-to-dict 2020-12-11 23:39:10 -05:00
Richard Feldman
3d827f40f4
Merge pull request #793 from rtfeldman/runtime-error
Generate a runtime error for ExposedButNotDefined
2020-12-11 22:20:22 -05:00
Richard Feldman
6883f57543 If we hit ExposedButNotDefined, gen a RuntimeError 2020-12-11 21:13:55 -05:00
Richard Feldman
48909f2114 Add RuntimeError::ExposedButNotDefined 2020-12-11 21:13:34 -05:00
Chadtech
745094a94c Correct tag alias Dict to be RedBlackTree 2020-12-11 21:11:31 -05:00
Jared Ramirez
9599b806e5 Add annotated tests 2020-12-11 17:29:03 -08:00
Chadtech
61728fd1d1 Merge branch 'trunk' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 20:21:40 -05:00
Jared Ramirez
0695dcac14 Add Integer/Float num aliases 2020-12-11 17:09:30 -08:00
Folkert
20c041dc60 improvements to str.zig 2020-12-12 01:46:33 +01:00
Folkert
462f6ac8e5 use C calling convention (approximation) when calling foreign functions 2020-12-12 01:30:39 +01:00
Folkert
f1b4d535c6 add other effect functions 2020-12-11 20:46:46 +01:00
Folkert
539f173472 set correct closure tag_id 2020-12-11 20:25:15 +01:00
Folkert
752a2200fd partial procs that look the same can still be different 2020-12-11 16:39:53 +01:00
Richard Feldman
9115f792a4 Special-case error reporting of app module 2020-12-10 23:59:15 -05:00