Actions
Bug #9301
closedГлава 7. Поправить трансляцию SubjectAccessesType
Start date:
10/04/2018
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
В коде python сбито форматирование. Трансляция не совсем корректна.
Updated by Denis Efremov over 5 years ago
Сейчас так:
@invariant def SubjectAccessesType() -> bool: return all(map(lambda s: s in SubjectAccesses and all(map(lambda j: j[0] in Entities and type(j[1]) is Accesses, SubjectAccesses[s])), Subjects))
Нужно поправить так:
@invariant def SubjectAccessesType() -> bool: return all(map(lambda s: s in Subjects and all(map(lambda j: j[0] in Entities and type(j[1]) is Accesses, SubjectAccesses[s])), SubjectAccesses))
Actions