Ayaz Hafiz
147636f42b
Base reported row numbers on original rows, not reified rows
2022-09-19 10:47:35 -05:00
Ayaz Hafiz
041b91e031
Add more test cases
2022-09-19 10:45:31 -05:00
Ayaz Hafiz
be853b65c5
Support unification of extension types with uninhabited branches
2022-09-19 10:32:39 -05:00
Ayaz Hafiz
8a42d60ca2
Move inhabited check to subs module
2022-09-19 10:08:18 -05:00
Richard Feldman
96f8818b24
Fix type mismatches in file.roc example
2022-09-19 10:27:44 -04:00
Folkert
631a1b6302
fold experimental stuff into old test
2022-09-19 15:23:47 +02:00
Folkert
3cd2bf6ad4
more cleanup
2022-09-19 15:21:34 +02:00
Richard Feldman
88ab511687
Report canonicalization errors on opaque names
2022-09-19 09:20:51 -04:00
Richard Feldman
f0a9bb0a96
Reorganize Program to use effects for getting args
2022-09-19 09:13:11 -04:00
Folkert
3ca3aae549
slowly cleaning up
2022-09-19 15:08:47 +02:00
Folkert
05aba03b87
actually append the app bytes into the new section
2022-09-19 12:50:02 +02:00
Folkert
322091353e
using the mmap
2022-09-19 12:03:02 +02:00
Folkert
4c8475fb74
empty second text section
2022-09-19 11:59:45 +02:00
Folkert
28fb72cca3
extra .text section created
2022-09-19 11:54:45 +02:00
Folkert
2b0ec6c227
help the type checker
2022-09-19 11:36:47 +02:00
Folkert
b881af47cb
first surgical link on PEs
2022-09-19 10:43:37 +02:00
dependabot[bot]
b5da9ce06a
Bump js-sys from 0.3.59 to 0.3.60
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.59 to 0.3.60.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 05:26:38 +00:00
Folkert
841c478b98
update the length of imports in the data directory after removing our dummy dll
2022-09-18 17:23:50 +02:00
Brian Carroll
e9e8904d10
Merge pull request #4057 from roc-lang/dll-export-asserts
...
dll export asserts
2022-09-18 14:49:31 +01:00
Folkert
6005ed0664
add test that combines a zig platform with a dll
2022-09-18 14:11:46 +02:00
Folkert
61366f0d43
add test for preprocessing on a zig host
2022-09-18 13:42:21 +02:00
Brian Hicks
43978a419c
Merge pull request #3960 from BrianHicks/repr-for-dict
2022-09-17 21:37:04 -05:00
Folkert
daa7e72a2f
clarify comment
2022-09-18 01:00:36 +02:00
Folkert
270949aa07
Revert "add test for preprocessing on a zig host"
...
This reverts commit 5ee12aeb7d
.
2022-09-18 00:58:34 +02:00
Folkert
5ee12aeb7d
add test for preprocessing on a zig host
2022-09-18 00:58:27 +02:00
Folkert
4f51f18a08
remove a constant, add an assert
2022-09-18 00:32:55 +02:00
Folkert
c7bb2672a9
fix typo
2022-09-17 14:44:37 +02:00
Folkert
92514a1499
custom logic around finding 'forward' exports
2022-09-17 14:42:36 +02:00
Folkert
0da6484618
add some asserts about addresses in the dummy dll generation
2022-09-17 14:37:10 +02:00
Folkert de Vries
6a9a1330b6
Merge pull request #4035 from roc-lang/windows-linker-preprocess-exe
...
windows linker preprocess exe
2022-09-17 12:10:57 +02:00
Brian Carroll
b0c4f74109
Add some extra context clues to a name and a comment
2022-09-17 07:44:41 +01:00
Folkert de Vries
d9217caae5
Merge pull request #4048 from roc-lang/JanCVanB-patch-1
...
Fix/update path
2022-09-16 23:29:50 +02:00
Ayaz Hafiz
ac752adc7c
Check in some more work
2022-09-16 16:09:21 -05:00
Ayaz Hafiz
6adb88beee
Report uninhabited branches as redundant
2022-09-16 15:55:46 -05:00
Ayaz Hafiz
0d98abae7b
Clippy
2022-09-16 15:39:09 -05:00
Ayaz Hafiz
1d7aef8c96
Don't include uninhabited constructors in exhaustiveness checking
2022-09-16 15:36:54 -05:00
Folkert
bdec61d5bb
fix bug in expect serialization of lambda sets
2022-09-16 22:19:55 +02:00
Ayaz Hafiz
d2cc1041aa
Unused import
2022-09-16 10:25:31 -05:00
Ayaz Hafiz
a81d4d4be2
Allow any numeric range to become a float
...
Currently things like `1 / 200` lead to a miscompilation because we type
`200` (and as a result, both `1` and the division result) as a ranged
number with width >= U8. During mono that forces the number to become an
`I64` because our logic was that a ranged number can only become a float
if it's at least as wide as an I8. But this is incorrect; as long as the
type is wrapped in `Frac` constructor and it's a ranged number (and not
a ranged int), it should become a fractional type.
```
» 1 / 200
0.005 : Float *
```
Closes #4047
2022-09-16 10:05:43 -05:00
Jan Van Bruggen
063464cb12
Fix/update path
...
I don't know if this file moved, but this is where it is now.
Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
2022-09-15 23:29:33 -06:00
Folkert
c00e458bad
refactor
2022-09-15 20:06:07 +02:00
Brian Hicks
6236be9416
fix formatting
2022-09-15 12:53:17 -05:00
Folkert
bad715e18a
add some objdump snippets to make clearer what is happening
2022-09-15 19:37:28 +02:00
Folkert
132ea07191
refactor out a constant
2022-09-15 19:37:12 +02:00
Ayaz Hafiz
8cd4281173
Complex bitcast recursive tag union pointers when we need them to be opaque
...
Resolves a discussion on Zulip: https://roc.zulipchat.com/#narrow/stream/231635-compiler-development/topic/When.20recursive.20structs.20aren't.20recursive
2022-09-14 20:58:54 -05:00
Folkert de Vries
4b0342ef34
Merge pull request #4039 from roc-lang/fix-expect-oom
...
Copy list values from the correct offset when reporting expects
2022-09-14 22:51:57 +02:00
Brian Hicks
335a8372c5
implement Drop for RocDictItem
2022-09-14 15:39:46 -05:00
Brian Hicks
98a8cc02e6
follow Roc's layout rules for RocDictItem
2022-09-14 15:36:54 -05:00
Ayaz Hafiz
fa700259aa
Clippy
2022-09-14 14:53:00 -05:00
Ayaz Hafiz
c4a3a8bd31
Copy list values from the correct offset when reporting expects
...
Co-authored-by: Folkert de Vries <folkert@folkertdev.nl>
2022-09-14 14:28:56 -05:00