App Lab bug that really needs to get fixed

I opened a bug for this but the bug still exists. I wouldn’t bother you if I didn’t think it was important to get some resources on it.

There are some variable names that the lint program thinks are defined in some outer context. So when you try to define them you get a warning in the form of a yellow triangle.

Screenshot 2020-12-07 at 10.18.12 AM

The warning is Redifinition of

When you try to reference one of them you get another yellow triangle:

Screenshot 2020-12-07 at 10.18.35 AM

The warning is Read only.

As you can imagine this is very confusing to the students. It wouldn’t be a high priority in my opinion if it wasn’t on such ubiquitous variable names such as name, speed, and location.

Of the three speed seems to be defined as a function in window while name and location are undefined in window, but cause a warning anyway.

This is only a warning from the lint program so it doesn’t affect how it runs.

My students and I are using Chrome OS 86 with the Chrome browser. You could test this in other environments to see what happens or if it is just us.

1 Like

I agree that students definitely encounter this, and it throws them off. I use it as a teaching moment, that they should always be looking out for possible reserved words.