Fábio Beirão
00ee063095
Return/Returns consistency for the Num module
2023-05-26 13:38:34 +02:00
Fábio Beirão
ad6bd540a7
Remove redundant can
...
Better readability, IMO.
2023-05-26 13:38:33 +02:00
Fábio Beirão
658491fe52
Fix typo, these savings instead of this savings
2023-05-26 13:38:33 +02:00
Fábio Beirão
fbbe2f6294
Fix U8 example, 2^8 instead of 2^16 numbers
2023-05-26 12:25:15 +02:00
Fábio Beirão
684fa4a0c7
Return/Returns consistency for the Result module
2023-05-26 12:18:48 +02:00
Fábio Beirão
8e9569c81e
Return/Returns consistency for the Box module
2023-05-26 12:11:24 +02:00
Fábio Beirão
698c9715af
Use serialize instead of serialise
...
The rest of the documentation prefers the en-US spelling
2023-05-26 10:16:47 +02:00
Fábio Beirão
03f4798d5a
Typo in Json module: exchange
2023-05-26 10:15:46 +02:00
Fábio Beirão
07568df92b
Use optimization instead of optimisation
2023-05-26 10:11:43 +02:00
Fábio Beirão
0c3bb35d66
Remove unnecessary hashes from Dict docs
2023-05-26 10:08:14 +02:00
Fábio Beirão
fb141af353
Typo: it's/its capacity
2023-05-26 10:05:24 +02:00
Fábio Beirão
fd68772b4d
Whitespace preventing consistent format
2023-05-26 10:05:04 +02:00
Fábio Beirão
3b7245f980
Typo in "particular case"
2023-05-26 10:04:43 +02:00
Fábio Beirão
e5e68266f9
Fix small typo on List module
2023-05-26 09:58:57 +02:00
Fábio Beirão
d60f1deebc
Fix small typos on Num module
2023-05-26 09:44:31 +02:00
Fábio Beirão
364208f37c
Fix small typo on Num.div
2023-05-26 00:06:27 +02:00
Brendan Hansknecht
8ecbd8c071
Merge pull request #5438 from roc-lang/dict-set-hash-eq
...
add Hash and Eq to Dict and Set
2023-05-25 00:38:20 +00:00
Ayaz
af3ee5e5f1
Merge pull request #5440 from roc-lang/i5429
...
Implement openness constraints under records
2023-05-24 17:03:34 -05:00
Brendan Hansknecht
b8f0c214c2
update uitest
2023-05-24 12:46:16 -07:00
Ayaz Hafiz
7f639e485a
Update mono tests
2023-05-24 14:14:14 -05:00
Ayaz Hafiz
d5f8af8021
Turn set test back on
2023-05-24 14:13:40 -05:00
Ayaz Hafiz
9f45c2ff47
Correctly copy non-generalized imports as non-generalized
...
Importing a rigid variable in a non-generalized context should not keep
the variable as rigid. That's because rigid variables are only necessary
for enforcing invariants during typechecking of a generalizable
definition, but at all use sites (which are not generalized), they are
demoted to possibly-unbound type variable.
2023-05-24 14:12:24 -05:00
Ayaz Hafiz
d3120e500e
Drop translations key
2023-05-24 14:06:39 -05:00
Ayaz Hafiz
cc47635634
Add open union under tuple test
2023-05-24 13:12:47 -05:00
Ayaz Hafiz
ee2a195525
s/loc_guard/loc_pattern
2023-05-24 13:12:47 -05:00
Ayaz Hafiz
2f7930dd0f
Implement annotation def for tuple
2023-05-24 13:12:41 -05:00
Ayaz Hafiz
815ae5df9d
Mark named destructures under records as open
2023-05-24 13:12:41 -05:00
Brendan Hansknecht
4cac15eb2b
remove stale comment
2023-05-24 10:48:40 -07:00
Ayaz Hafiz
5abf121efe
Correct tag ID matching of nullable wrapped tags
2023-05-24 12:42:15 -05:00
Ayaz Hafiz
bbcd9c3a52
Debug LLVM IR in tests
2023-05-24 12:41:54 -05:00
Brendan Hansknecht
877be563ba
add Hash and Eq to Dict and Set
2023-05-24 10:38:47 -07:00
J.Teeuwissen
f6ab5f5552
updated drop_specialization for boxes
2023-05-23 14:45:44 +02:00
Folkert de Vries
69a487a96a
Merge pull request #5422 from dlsmith/json-overflow-cfg-dbg
...
Disable some tests in debug failing with stack overflow
2023-05-18 01:50:59 +02:00
David Smith
7f1a242a7c
Disable some tests in debug failing with stack overflow
2023-05-17 16:33:59 -04:00
Agustin Zubiaga
4cd2c957ca
Format multiline reecord builder fields nicely
2023-05-17 12:48:37 -03:00
Agustin Zubiaga
5edcb31f32
Outdentable record builders
2023-05-17 12:21:39 -03:00
Agustin Zubiaga
b92c50c7be
Remove unnecessary format_record_builder_field_help argument
2023-05-17 12:17:31 -03:00
Agustin Zubiaga
d1feb00170
Track spaces between : and <- in record builders
2023-05-17 11:49:06 -03:00
Agustin Zubiaga
23db4a5e87
Update tests to new record builder syntax
2023-05-17 11:47:34 -03:00
Agustin Zubiaga
731cd4257d
Record Builder colon arrow syntax
2023-05-16 22:44:55 -03:00
Folkert de Vries
d6dfdabd16
Merge pull request #5396 from roc-lang/simpl-record-layout
...
Simplify record layout
2023-05-17 01:17:25 +02:00
Ayaz
c072eda598
Merge pull request #5415 from agu-z/agu-z/record-builder-syntax
...
Prevent record builder field names from shadowing other symbols
2023-05-16 12:41:35 -05:00
Ayaz Hafiz
a67c148be7
Convert LayoutRepr::Struct into a tuple variant
2023-05-16 11:58:16 -05:00
Agustin Zubiaga
c43ff03e41
Prevent record builder field names from shadowing other symbols
2023-05-16 13:48:41 -03:00
Richard Feldman
a6bda6eccf
Merge pull request #5163 from lukewilliamboswell/builtin-json
...
More tests and updates for Json builtin
2023-05-15 19:08:54 -04:00
Brendan Hansknecht
d94b3f521c
Merge pull request #5405 from dlsmith/i5388
...
Upgrade to clap 4
2023-05-15 20:37:52 +00:00
ayebeedee
98226cb55a
fixed precedence difference for && ||
2023-05-15 22:01:17 +05:00
David Smith
1aa45240fd
Update --prebuilt-platform usage in comments and error messages.
2023-05-15 12:53:58 -04:00
Folkert de Vries
f2a033d0da
Merge pull request #5406 from JTeeuwissen/cross-layout-reuse
...
Cross layout reuse
2023-05-15 15:20:23 +02:00
Luke Boswell
89f688b070
fix test reference to Json encoder
2023-05-15 21:38:18 +10:00