-
Notifications
You must be signed in to change notification settings - Fork 27
Fix: Collections type #254
Copy link
Copy link
Open
Labels
Description
-
The current implementation of Literal collections accepts only Literal type objects but in python collections can store variables, Constants, other collections, Objects, functions as well.
-
Collections extend Literal type which has value attribute and his attribute is used in
__str__andget_structsmethod which causeobject has no attribute 'value'error
Available Solutions
- Update the current Literal collections to fix these issues
- create new collections which extent
DataTypeclass and can storeDataTypetypes which includes (FunctionCall, Literals)
I will be working on this, before starting I would like to know what do maintainer thinks on this issue and what solution should I implement?
Reactions are currently unavailable