Merge pull request #4950 from roc-lang/keep-recptr-index

Initial support for linking recursive pointer layouts back to their source layouts
This commit is contained in:
Ayaz 2023-01-24 14:42:00 -06:00 committed by GitHub
commit ad84e02abf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 639 additions and 132 deletions

View file

@ -1730,7 +1730,8 @@ fn layout_spec_help<'a>(
builder.add_tuple_type(&[cell_type, inner_type])
}
RecursivePointer => match when_recursive {
// TODO(recursive-layouts): update once we have recursive pointer loops
RecursivePointer(_) => match when_recursive {
WhenRecursive::Unreachable => {
unreachable!()
}