Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested typed collections are not supported. #98986

Closed
MarkoGrbec opened this issue Nov 9, 2024 · 1 comment
Closed

Nested typed collections are not supported. #98986

MarkoGrbec opened this issue Nov 9, 2024 · 1 comment

Comments

@MarkoGrbec
Copy link

Tested versions

reproducible in 4.4dev-3, 4.4dev-4

System information

Linux 6.10.11-2-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Sep 26 03:28:26 UTC 2024 x86_64 GNU/Linux

Issue description

Nested typed collections are not supported.
it should have ability to have nested typed arrays or dictionaries

Steps to reproduce

just write a sample code:

enum some_enum
{
    test,
    test1
}


var dict: Dictionary[int, Array[int]]
var array: Array[Array[int]]

var dict: Dictionary[int, Array[some_enum]]

an error should be given:
Nested typed collections are not supported.

Minimal reproduction project (MRP)

N/A

@dalexeev
Copy link
Member

dalexeev commented Nov 9, 2024

This is not a bug, but a known and documented limitation of the current implementation. To support nested types, we will need significant refactoring.

See also:

Thanks for the contribution nonetheless!

@dalexeev dalexeev closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants