Cyclic Type Annotations do not work
Open
enhancement
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 603
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 6
Description
The following code does not compile:
```
class A:
b: 'B'
class B:
a: A
```
Error Message:
```
error: expected type expression
```
Even if you omit the quotes around the B it does not work.
Contributor guide
Assessment
This issue has not been assessed yet.