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

Make records as they are work in the arrays encoding #1419

Merged
merged 16 commits into from
Mar 8, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update tla-bmcmt/src/main/scala/at/forsyte/apalache/tla/bmcmt/rules/D…
…omainRuleWithArrays.scala

Co-authored-by: Igor Konnov <igor@informal.systems>
  • Loading branch information
rodrigo7491 and konnov committed Mar 2, 2022
commit f6c0f0675d00b78e186ea0e9920de227699c815a
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class DomainRuleWithArrays(rewriter: SymbStateRewriter, intRangeCache: IntRangeC
val funState = rewriter.rewriteUntilDone(state.setRex(funEx))
val funCell = funState.asCell

// no type information from the type finder is needed, as types are propagated in a straightforward manner
// TODO: consider records, tuples, and sequences in the arrays encoding
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this TODO obsolete?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really. It is there as a reminder of what was not touched for when we decide to encode these features differently.

funCell.cellType match {
case RecordT(_) =>
Expand Down