Skip to content

Fix: Collections type #254

@Zehen-249

Description

@Zehen-249
  1. 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.

  2. Collections extend Literal type which has value attribute and his attribute is used in __str__ and get_structs method which cause object has no attribute 'value' error

Available Solutions

  1. Update the current Literal collections to fix these issues
  2. create new collections which extent DataType class and can store DataType types 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions