UCSD-PL / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
0 stars 7 forks source link

Spurious `rv` variable in Projection Boxes? #39

Open KasraF opened 1 year ago

KasraF commented 1 year ago

The following code:

import itertools
import matplotlib.pyplot as plt

data = [180,250,130,50]

# plot a bar chart
## ---
plt.bar(range(len(data)), data)
plt.clf()

## ---

Shows a spurious rv variable on the data = ... line:

image

KasraF commented 1 year ago

May be related to #33 ?

rlisahuang commented 1 year ago

@KasraF Is this fixed? I couldn't replicate it using the web version.

KasraF commented 1 year ago

@KasraF Is this fixed? I couldn't replicate it using the web version.

I didn't fix it, but I couldn't replicate it either, and haven't ran into this exact problem in a while. Though it could be related to #52 and #54? It looks like something in our handling of return values is buggy...