Skip to content

accept decl-clash.*.ok #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/compile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ module BoxedInt = struct
Small values (just <2^5 for now, so that both code paths are well-tested)
are stored unboxed, tagged, see BitTagged.

The heap layout of a BoxedWord is:
The heap layout of a BoxedInt is:

┌─────┬─────┬─────┐
│ tag │ i64 │
Expand Down
14 changes: 13 additions & 1 deletion test/fail/ok/decl-clash.run-ir.ok
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
prelude:50.1-75.2: internal error, Env.Make(X).Clash("test")
prelude:66.1-91.2: internal error, Env.Make(X).Clash("test")

Last environment:
@new_async = func
Array_init = func
Array_tabulate = func
abs = func
ignore = func
intToWord16 = func
intToWord32 = func
intToWord8 = func
natToWord16 = func
natToWord32 = func
natToWord8 = func
print = func
printInt = func
range = func
revrange = func
word16ToInt = func
word16ToNat = func
word32ToInt = func
word32ToNat = func
word8ToInt = func
word8ToNat = func

14 changes: 13 additions & 1 deletion test/fail/ok/decl-clash.run-low.ok
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
prelude:50.1-75.2: internal error, Env.Make(X).Clash("test")
prelude:66.1-91.2: internal error, Env.Make(X).Clash("test")

Last environment:
@new_async = func
Array_init = func
Array_tabulate = func
abs = func
ignore = func
intToWord16 = func
intToWord32 = func
intToWord8 = func
natToWord16 = func
natToWord32 = func
natToWord8 = func
print = func
printInt = func
range = func
revrange = func
word16ToInt = func
word16ToNat = func
word32ToInt = func
word32ToNat = func
word8ToInt = func
word8ToNat = func

14 changes: 13 additions & 1 deletion test/fail/ok/decl-clash.run.ok
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
prelude:50.1-75.2: internal error, Env.Make(X).Clash("test")
prelude:66.1-91.2: internal error, Env.Make(X).Clash("test")

Last environment:
@new_async = func
Array_init = func
Array_tabulate = func
abs = func
ignore = func
intToWord16 = func
intToWord32 = func
intToWord8 = func
natToWord16 = func
natToWord32 = func
natToWord8 = func
print = func
printInt = func
range = func
revrange = func
word16ToInt = func
word16ToNat = func
word32ToInt = func
word32ToNat = func
word8ToInt = func
word8ToNat = func

14 changes: 13 additions & 1 deletion test/fail/ok/decl-clash.tc.ok
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
prelude:50.1-75.2: internal error, Env.Make(X).Clash("test")
prelude:66.1-91.2: internal error, Env.Make(X).Clash("test")

Last environment:
@new_async = func
Array_init = func
Array_tabulate = func
abs = func
ignore = func
intToWord16 = func
intToWord32 = func
intToWord8 = func
natToWord16 = func
natToWord32 = func
natToWord8 = func
print = func
printInt = func
range = func
revrange = func
word16ToInt = func
word16ToNat = func
word32ToInt = func
word32ToNat = func
word8ToInt = func
word8ToNat = func

14 changes: 13 additions & 1 deletion test/fail/ok/decl-clash.wasm.stderr.ok
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
prelude:50.1-75.2: internal error, Env.Make(X).Clash("test")
prelude:66.1-91.2: internal error, Env.Make(X).Clash("test")

Last environment:
@new_async = func
Array_init = func
Array_tabulate = func
abs = func
ignore = func
intToWord16 = func
intToWord32 = func
intToWord8 = func
natToWord16 = func
natToWord32 = func
natToWord8 = func
print = func
printInt = func
range = func
revrange = func
word16ToInt = func
word16ToNat = func
word32ToInt = func
word32ToNat = func
word8ToInt = func
word8ToNat = func