Commit 321759f1 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix: validate model before reindexing

This is one of those "how did it ever work?" kind of things. Reindexing calls
VarDecl::width(), which in turn calls a number of functions that assume the
model has already been validated. By pure luck we seem to manage to avoid
triggering an assertion failure or bad reference. Interestingly this was found
while debugging another orthogonal issue, when my initial fix for that issue
failed.

Github: related to #91 "inverted ranges are accepted"
parent 5ccd2be5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment