Brendan Hansknecht
cd0d89fdc9
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-25 07:39:58 -08:00
Brendan Hansknecht
6e0b7b5b1d
Merge pull request #2576 from rtfeldman/fix-type-inferrence-errors
...
fix type inferrence errors on M1 macs
2022-02-25 15:31:51 +00:00
Richard Feldman
70bb9f9ef1
Fix hello-gui test linking on linux
2022-02-25 10:08:15 -05:00
Emi Simpson
40375adbb0
Merge remote-tracking branch 'upstream/trunk' into fix-panic-on-unimported-module
2022-02-25 09:18:19 -05:00
Tom Dohrmann
5245770e1a
fix copy_length
2022-02-25 15:15:07 +01:00
Richard Feldman
a49b66e379
Merge branch 'trunk' into gui-example
2022-02-25 08:22:36 -05:00
Tom Dohrmann
954064fa1e
make more types more explicit
2022-02-25 13:58:07 +01:00
Tom Dohrmann
868316abb8
make types more explicit
2022-02-25 13:02:11 +01:00
hafiz
23f2976411
Merge pull request #2571 from rtfeldman/format-on-directories
...
Format on directories
2022-02-25 00:48:37 -05:00
Brendan Hansknecht
d5540697eb
Merge pull request #2573 from rtfeldman/add-opt-size
...
Add opt size
2022-02-25 04:27:08 +00:00
Richard Feldman
cb40c21374
Fix test
2022-02-24 22:19:48 -05:00
Richard Feldman
09dec55e6e
Drop unused variable
2022-02-24 22:06:00 -05:00
Richard Feldman
bab5be4e67
Implement ReferenceCount for RocElem
2022-02-24 21:38:07 -05:00
Richard Feldman
b85e79e6bc
Drop some obsolete code
2022-02-24 21:37:58 -05:00
Emi Simpson
4d10c22442
🐛 ️ Handle unimported modules properly
...
helpful error, not panic!
Closes #2422
2022-02-24 20:52:25 -05:00
Brendan Hansknecht
ec411b7a62
Also build host for size when using --opt-size
2022-02-24 16:21:12 -08:00
Brendan Hansknecht
69b4e78ac7
Add --opt-size and compiling smaller binaries
2022-02-24 15:39:50 -08:00
Richard Feldman
1e2083e804
Merge remote-tracking branch 'origin/trunk' into gui-example
2022-02-24 18:11:18 -05:00
celso
98eb359dad
fixes identation on flatten_directories
...
Co-authored-by: hafiz <20735482+ayazhafiz@users.noreply.github.com>
2022-02-24 20:07:03 -03:00
Celso Bonutti
98f3f14984
fixes compiling error on directory flattening
2022-02-24 20:00:29 -03:00
Celso Bonutti
36dffc8c5f
changes implementation of folder flattening
2022-02-24 19:58:20 -03:00
Celso Bonutti
c0709a91f3
adds comments to format_check_folders test
2022-02-24 19:57:58 -03:00
Brendan Hansknecht
279652a5af
Merge pull request #2570 from rtfeldman/wasmer-cranelift
...
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 22:02:24 +00:00
Celso Bonutti
7f186249a1
formats cli test file
2022-02-24 18:11:57 -03:00
Celso Bonutti
214d4e025b
changes wording from 'folder' to 'directory'
2022-02-24 18:10:39 -03:00
Celso Bonutti
9d487a4a95
adds tests
2022-02-24 18:06:42 -03:00
Celso Bonutti
797605cd72
uses the word 'folder' consistently
2022-02-24 17:56:48 -03:00
Celso Bonutti
8bafbf3beb
extracts .roc files from folders before formatting
2022-02-24 17:33:53 -03:00
Brendan Hansknecht
c327681ebc
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 10:31:21 -08:00
Brendan Hansknecht
f7c0e2ef19
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-24 10:13:39 -08:00
Richard Feldman
e779c84bd6
Add explicit gui example test
2022-02-24 10:19:00 -05:00
Richard Feldman
7179f87536
Merge pull request #2569 from rtfeldman/simplify-pattern-constraint-generation
...
Simplify pattern constraint generation
2022-02-24 07:28:17 -05:00
ayazhafiz
f8c7349193
Simplify pattern constraint generation
...
At the time we introduced presence constraints for tag unions, I added a
"destruct_position" variable so that we didn't change the typechecking
semantics for everything all at once, and because I wasn't totally sure
what I was doing was correct. But now we're more confident in this
approach, and every pattern is by definition a destructuring, so there
is no need for this flag.
Also should fix some potential bugs we didn't notice before with presence
constraints in closure variables, though I can't find a good test to
reproduce this, since closure variables are hidden from the user.
2022-02-24 01:08:18 -05:00
Richard Feldman
130b6108af
Revert "Reproduce monomorphization crash"
...
This reverts commit 181fcb97f7
.
2022-02-24 00:18:53 -05:00
Richard Feldman
181fcb97f7
Reproduce monomorphization crash
2022-02-24 00:18:34 -05:00
Richard Feldman
4de6ad4afb
Drop unused field
2022-02-24 00:07:44 -05:00
Richard Feldman
54882f357d
Add test to build gui example
2022-02-24 00:07:30 -05:00
Tom Dohrmann
0169a6c579
Merge pull request #2561 from rtfeldman/remove-capacity-from-roc_std
...
reimplement `RocList` and `RocStr`
2022-02-24 05:42:10 +01:00
Richard Feldman
72edf73ebd
Extract out build_example function
2022-02-23 23:27:34 -05:00
Richard Feldman
39229013ea
Delete some obsolete comments
2022-02-23 21:36:05 -05:00
Richard Feldman
7f1f22f81a
Delete some obsolete gui example platform stuff
2022-02-23 21:34:12 -05:00
Richard Feldman
5fa5a15d44
Drop an obsolete comment
2022-02-23 21:27:18 -05:00
Richard Feldman
655373dbe7
Merge remote-tracking branch 'origin/trunk' into gui-example
2022-02-23 21:25:01 -05:00
Richard Feldman
66057b6643
Make Hello World gui example more legible
2022-02-23 21:22:22 -05:00
Richard Feldman
0d037f2204
Appease clippy
2022-02-23 21:19:02 -05:00
Richard Feldman
4168fc7c6e
Drop some unused code
2022-02-23 21:13:37 -05:00
Richard Feldman
716a0cc8c9
Replace RgbaTup with repr(c) Rgba struct
2022-02-23 21:12:42 -05:00
Richard Feldman
2d9250b1c1
Merge pull request #2562 from rtfeldman/tutorial-install-link
...
link to "getting started" in tutorial
2022-02-23 20:49:01 -05:00
Richard Feldman
5b7acf8b4f
Make Row and Col work
2022-02-23 20:36:37 -05:00
Folkert de Vries
3066aef1b7
Merge pull request #2550 from rtfeldman/improve-link-lib64
...
[Enhancement] Improve library lookup in native linker
2022-02-23 23:25:33 +01:00