tests: extend rejection twins across public semantic features
This commit is contained in:
1 parent
272aebfd32
commit
06d8a1a76a
32 files changed
+396
-22
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user