Skip to content
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

Get rid of most generated variables #1679

Merged
merged 21 commits into from
Oct 16, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ error: contract broken by the caller of `at`: invalid array indexing
3 │ std.array.at 0 []
│ -- evaluated to this expression
┌─ <unknown> (generated by evaluation):1:1
1 │ [ ]
│ ---- evaluated to this value
= Can't index into an empty array

note:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ error: contract broken by the caller of `at`: invalid array indexing
3 │ std.array.at 2 [1]
│ --- evaluated to this expression
┌─ <unknown> (generated by evaluation):1:1
1 │ [ %262 ]
│ -------- evaluated to this value
= Expected an array index between 0 and 0 (included), got 2

note:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ error: contract broken by a value: extra field `b`
│ │
│ expected type
┌─ <unknown> (generated by evaluation):1:1
1 │ { a = 1, b = 2, }
│ ----------------- evaluated to this value
= Have you misspelled a field?
= The record contract might also be too strict. By default, record contracts exclude any field which is not listed.
Append `, ..` at the end of the record contract, as in `{some_field | SomeContract, ..}`, to make it accept extra fields.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ error: contract broken by the caller: field not allowed in tail: `x`
│ ------- --------- evaluated to this expression
│ │
│ expected type of the argument provided by the caller
┌─ <unknown> (generated by evaluation):1:1
1 │ { x = 0, }
│ ---------- evaluated to this value

note:
┌─ [INPUTS_PATH]/errors/record_forall_constraints_contract.ncl:3:58
Expand Down
Loading