tonybaloney / Pyjion

Pyjion - A JIT for Python based upon CoreCLR
https://www.trypyjion.com
MIT License
1.42k stars 59 forks source link

Check unbound check is occurring for unboxed fast locals #501

Open tonybaloney opened 1 year ago

tonybaloney commented 1 year ago
def foo(flag):
  if flag:
    x = 3
  return x
foo(True)
foo(True)
foo(False)
tonybaloney commented 1 year ago

Returns 0 on the third call, instead of raising exception