Open jameshensman opened 6 years ago
Actually, it seems to be even simpler than that. here's an imprved MWE:
def foo(d, i):
return d[i]
raises same exception!
Nice, thanks for the extremely succinct reproducing case! I’ll take a look at it and try to get a fix ASAP
On Thu, Mar 22, 2018 at 11:01 AM James Hensman notifications@github.com wrote:
Actually, it seems to be even simpler than that. here's an imprved MWE:
def foo(d, i): return d[i]
raises same exception!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/tangent/issues/69#issuecomment-375403028, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ4j5c5Bog6Go1pR1_MYZlq0VcebDz4ks5tg-cWgaJpZM4S3hte .
The code that tangent writes tries to use an undefined variable
To replicate:
Using tangent's verbose setting, the code generated is: