Consider this Slice definition:
In Python, the repr() of an object of this type yieldsCode:struct Employee { long number; string firstName; string lastName; };
which looks nice (apart from the fact that the structure type name is not included) but can't be fed into eval() as it should be. I would expect something likeCode:{ number = 42 firstName = Christian lastName = Bauer }
orCode:Employee(42, 'Christian', 'Bauer')
Same for Slice classes.Code:Demo.Employee(number=42, firstName='Christian', lastName='Bauer')

Reply With Quote

