Commit graph

5251 commits

Author SHA1 Message Date
Brendan Hansknecht
7526f7069b
Revert "use general roc store instead of specific llvm store"
Not sure why but this is wrong for some pointer reasons?

This reverts commit b190b09b78.
2022-07-18 22:35:52 -07:00
Brendan Hansknecht
057e4ea57a
ensure sret is actually pointer type instead of just assuming 2022-07-18 22:35:39 -07:00
Brendan Hansknecht
8bc6131b3d
Merge branch 'trunk' into gen-dev/quicksort 2022-07-18 22:05:45 -07:00
Brendan Hansknecht
9c35d29c24
correct sret to use the element type and not the pointer type 2022-07-18 22:04:34 -07:00
Brendan Hansknecht
b190b09b78
use general roc store instead of specific llvm store 2022-07-18 21:53:01 -07:00
Ayaz Hafiz
92b5b0ef42
Fix gen tests 2022-07-18 22:19:10 -04:00
Ayaz Hafiz
0b74620a8f
Update mono tests 2022-07-18 22:15:22 -04:00
Ayaz Hafiz
c189f27fb0
Fix mono tests 2022-07-18 22:14:47 -04:00
Ayaz Hafiz
f3105eca6e
Format Json.roc 2022-07-18 22:14:39 -04:00
Folkert
fc891c0956
the lazier thing 2022-07-18 22:13:25 -04:00
Richard Feldman
2b0bfbb590
Merge pull request #3543 from rtfeldman/http-sync
Http example
2022-07-18 21:35:23 -04:00
Ayaz Hafiz
d2da395619
Syntactic ability links in solve 2022-07-18 18:33:28 -04:00
Ayaz Hafiz
4d0c1e6a9c
Use insta for inferred queried tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
159ddd3906
Fix gen tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
17f53a23a5
Update tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
f8cd56da41
Register specializing symbol in can opaques 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
c2154ac311
Support shorthand ability implementation syntax 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
96b32c36cb
Introdue ability member names before other value names 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
e672ce9ebd
First pass at canonicalizing and reporting syntactic abilities 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
d118e5afbc
More can abilities 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
e798eb3037
Lookup symbols in scope when the module ID is already known 2022-07-18 17:55:00 -04:00
Richard Feldman
c859ce0b23
Use Opaque over Alias 2022-07-18 17:55:00 -04:00
Richard Feldman
73cd5b8c7c
Parse ability definitions using record exprs, not types 2022-07-18 17:55:00 -04:00
Richard Feldman
cb084c9738
Revise ExtractSpaces for HasImpls
Make it produce the one non-space variant,
so you don't have to match on it afterwards
2022-07-18 17:54:59 -04:00
Richard Feldman
a85b70c355
Merge pull request #3578 from rtfeldman/no-host-exposed-in-test
don't generate host-exposed functions/values in tests
2022-07-18 17:13:47 -04:00
Ayaz
d5f36a6780
Merge pull request #3568 from rtfeldman/list-maptry 2022-07-18 15:22:38 -05:00
Brian Carroll
00d96d5a8b
Merge branch 'trunk' of github.com:rtfeldman/roc into http-sync 2022-07-18 21:02:32 +01:00
Folkert de Vries
4775de5db9
Merge pull request #3577 from rtfeldman/encode-default
Import Encode in all modules
2022-07-18 21:06:35 +02:00
Folkert
b01709c566
don't generate host-exposed functions/values in tests 2022-07-18 19:37:27 +02:00
Folkert de Vries
ca38ec4eb5
Merge pull request #3541 from rtfeldman/rocasync
Changes to get roc-async working
2022-07-18 19:22:07 +02:00
Ayaz Hafiz
efc11bd7ed
Wasm sized and decode for void values 2022-07-18 12:37:48 -04:00
Ayaz Hafiz
72c6cf7801
Import Encode in all modules 2022-07-18 12:17:06 -04:00
Ayaz Hafiz
6802c3e2b1
Turn on tests that now work 2022-07-18 11:29:27 -04:00
Ayaz Hafiz
7df18f82a2
Mark var only for debug builds 2022-07-18 11:21:30 -04:00
Richard Feldman
b9bded716c
Fix return type in test result 2022-07-18 11:18:30 -04:00
Richard Feldman
7e446d1b0d
Eliminate @memcpy from Str.trim functions 2022-07-18 10:28:53 -04:00
Ayaz Hafiz
1440915395
Start generating void layouts for unbound type variables 2022-07-18 10:08:07 -04:00
Richard Feldman
b6b66b883a
Merge pull request #3569 from rtfeldman/joshuawarner32/when-after-line-start
Correct indentation for when expressions
2022-07-18 09:55:58 -04:00
Brian Carroll
269d416132
Merge branch 'trunk' of github.com:rtfeldman/roc into http-sync 2022-07-18 08:14:50 +01:00
Richard Feldman
fd65f12cad
Merge pull request #3567 from rtfeldman/result-try
Rename `Result.after` to `Result.try`, `Result.afterErr` to `Result.onErr`
2022-07-17 22:47:02 -04:00
Ayaz
d354dd177a
Merge pull request #3564 from rtfeldman/fix-json
JSON doesn't allow trailing commas
2022-07-17 21:43:01 -05:00
Joshua Warner
ada8af25cc Correct indentation for when expressions
... and simultaneously remove the need for State::indent_column field / multiline tracking in blankspace.rs.

Fixes #2889
2022-07-17 19:26:33 -07:00
Richard Feldman
b92a2b8dad
Clarify docs a bit 2022-07-17 21:54:36 -04:00
Richard Feldman
f2175f31be
Add List.mapTry tests 2022-07-17 21:53:01 -04:00
Richard Feldman
08ead32be9
Add List.mapTry 2022-07-17 21:53:01 -04:00
Richard Feldman
8036533749
Update symbols 2022-07-17 21:37:32 -04:00
Richard Feldman
145bd8b4a2
Rename Result.afterErr to Result.onErr 2022-07-17 21:37:32 -04:00
Richard Feldman
0acab0eef3
Rename Result.after to Result.try 2022-07-17 17:25:50 -04:00
Brian Carroll
8cf7752514
Improve a debug assert message (triggered by unnecessary import of Box) 2022-07-17 22:00:20 +01:00
Richard Feldman
518b21c3f8
Rename Json.format to Json.toUtf8 2022-07-17 15:21:27 -04:00