Showing the changes to src/vm/execution_table.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1403,7 +1403,7 @@ namespace · 1402 unmodified lines | |||
| 1403 | if (s == nullptr) | 1403 | if (s == nullptr) |
| 1404 | return; | 1404 | return; |
| 1405 | 1405 | ||
| 1406 | if (d == nullptr || s->alloc_type != d->alloc_type) | 1406 | if (d == nullptr || !s->alloc_type->is_equal(d->alloc_type.get())) |
| 1407 | throw type_violation{}; | 1407 | throw type_violation{}; |
| 1408 | } | 1408 | } |
| 1409 | 1409 | ||