Static[int] can't be used in dict, list or tuple
Open
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 603
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 6
Description
Static[int] can't be used in dict, list or tuple:
```python
int_to_static_int = {i: Static[i] for i in range(1, 21)}
```
```python
test.codon:1 (32-33): error: expected 'int', 'bool' or 'str'
```
```python
int_to_static_int = [Static[i] for i in range(1, 21)]
```
```python
test.codon:1 (32-33): error: expected 'int', 'bool' or 'str'
```
```python
int_to_static_int = (Static[i] for i in range(1, 21))
```
```python
test.codon:1 (32-33): error: expected 'int', 'bool' or 'str'
```
Contributor guide
Assessment
This issue has not been assessed yet.