exaloop / exaloop/codon

Captured argument variable not initialized

Open
#705 2 comments 3 reactions 1 assignee Claimed by @inumanag View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.