Commit graph

8237 commits

Author SHA1 Message Date
Folkert
42ee775fce
WIP 2022-05-04 19:29:24 +02:00
Folkert
5d91ad9254
refactor 2022-05-04 15:16:03 +02:00
Sean Hagstrom
e6621e5167 remove outdated test for inline comment formatting
I tested if the formatter was still inconsistent by locally changing the helloWorld example to have:
```
main =
    greeting = "Hello, World!\n" # This variable is for greeting

    greeting
```
And running the formatter multiple times with `cargo run -- formatter`.
At the moment the results are consistent and the inline comments remains inlined.
2022-04-30 14:37:53 +01:00
Sean Hagstrom
e36aad6310 fix(formatter): format and allow inline comments for defs 2022-04-30 14:34:33 +01:00
Ayaz Hafiz
3411a4b266
Simplify 2022-04-29 17:49:40 -04:00
Ayaz Hafiz
fe28d1554b
Only assert that rigids are introduced at given rank behind flag
Closes #2489
2022-04-29 16:26:10 -04:00
Folkert de Vries
5e47e4767e
Merge pull request #2967 from rtfeldman/arm-sjlj
SJLJ roc_panic on AArch64
2022-04-29 16:32:15 +02:00
Ayaz Hafiz
e1fe7d7ed8
Comment 2022-04-29 09:09:28 -04:00
Folkert de Vries
4074088a5e
Merge pull request #2971 from rtfeldman/no-mono-exhaustiveness
No more exhaustiveness checking in mono, nor mono errors
2022-04-29 09:18:50 +02:00
ayazhafiz
c6f313c33a Fix test with type errors 2022-04-28 21:13:10 -04:00
ayazhafiz
dad10af0f9 Make sure to stacksave on x86 2022-04-28 21:07:17 -04:00
Ayaz
1d35cdde8a
Merge pull request #2973 from rtfeldman/scope-touchups
Scope touchups
2022-04-28 20:44:03 -04:00
ayazhafiz
07781dd95f Disable closure wasm test 2022-04-28 20:37:42 -04:00
ayazhafiz
5be9a001e3 Empty records are exhaustive 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
38fd9e8286 Fix gen-dev tests 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
afe49cf570 Cleanup 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
5f8834d6b4 I dont got no references 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
89757dc31f Remove MonoProblem 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
c969c7a15e Remove more exhaustiveness checks in mono 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
12234c36ad Remove unnecessary var introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
2cc47f184f Remove unncessary variable introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
907cbdc3a7 Compile fix 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
1af207325e Simplify again 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
ae0c0fe8fe Simplify 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
9dac9e4bc2 Coalesce 2022-04-28 20:34:03 -04:00
Ayaz Hafiz
bd4f004cea Some marks are always known 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
51c8702820 Smarter marks 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
2f1306afd1 Redundant and exhaustive marks in mono 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
98869b557d Exhaustive and redundant marks 2022-04-28 20:33:48 -04:00
Ayaz
3b64fe59b5
Update compiler/can/src/scope.rs 2022-04-28 20:14:39 -04:00
Folkert de Vries
0dd04787fd
Merge pull request #2972 from rtfeldman/exhaustiveness-bugs
exhaustiveness bug tests
2022-04-28 23:48:51 +02:00
Folkert
42d74199e5
limit cost of inner_scope 2022-04-28 23:43:24 +02:00
Folkert
e243402f9b
rename 2022-04-28 23:28:14 +02:00
Folkert
99340e314c
remove clone of scope.ident_ids 2022-04-28 23:27:46 +02:00
Folkert de Vries
f1dd517d62
Merge pull request #2919 from rtfeldman/scope-smarter-storage
Scope smarter storage + move IdentIds into Scope
2022-04-28 23:26:28 +02:00
Folkert
6dc07c6ea4
add some basic scope tests 2022-04-28 23:23:55 +02:00
Folkert
f17cf9d02b
remove var_store argument 2022-04-28 22:30:27 +02:00
Ayaz Hafiz
3bffdb6037
Add test for 2900
Closes #2900
2022-04-28 16:12:08 -04:00
Ayaz Hafiz
83f9c2a3a0
Trunk test for 2777
Closes #2777
2022-04-28 16:04:24 -04:00
Folkert
572bd66fb7
remove exosed_ident_ids 2022-04-28 21:34:58 +02:00
Folkert
b1fe5659a4
cleanup 2022-04-28 21:19:27 +02:00
Folkert
992575051a
remove identids from Env 2022-04-28 21:11:08 +02:00
Folkert
7fb5b23fb0
move identids into Scope 2022-04-28 21:08:28 +02:00
Folkert
37cb9279f5
prepare for all_ident_ids 2022-04-28 20:42:00 +02:00
Folkert
65e534b2b1
rename 2022-04-28 20:34:55 +02:00
Folkert
5006231e81
remove exposed_ident_ids from Env 2022-04-28 20:31:27 +02:00
Folkert
fb9d60226d
store `exposed_ident_ids in the scope itself 2022-04-28 20:30:02 +02:00
Folkert
5a613db7b6
use snapshots for inner scopes 2022-04-28 20:01:01 +02:00
Folkert
70844b1218
add snapshot functionality 2022-04-28 19:49:44 +02:00
Folkert
38bb5a189e
fix load test 2022-04-28 19:41:21 +02:00