tests: extend rejection twins across public semantic features

This commit is contained in:
dev committed 2026-10-08 19:14:12 +03:00
1 parent 272aebfd32
commit 06d8a1a76a
32 files changed
+396 -22

No files matched your search

+2 -1
View File
@@ -204,7 +204,8 @@ def identity_class(air, d, value):
definition = re.match(r'\s*(%[^=]+?)\s*=\s*([\w.]+)', line)
if definition and value in [x.strip() for x in definition[1].split(',')]:
op = definition[2]
if op.startswith('borrow.') or op in {'slice.make', 'slice.sub', 'slice.split', 'buffer.view'}:
if op.startswith('borrow.') or op in {'slice.make', 'slice.sub', 'slice.split',
'buffer.view', 'island.borrow'}:
return 'borrow'
if op in producers:
return producers[op]