Captured argument variable not initialized
Open
bug
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 603
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 6
Description
``` python
def func_1(N: int):
print(N)
def func_2(x: int) -> int:
return x+N
N = 0
func_1(42)
```
Python prints `42`, but Codon prints `None`.
Contributor guide
Assessment
This issue has not been assessed yet.