Khan / Khan/live-editor

BabyHint mis-interprets undefined variable as a mis-spelling

Open
#535 6 comments 0 reactions 1 assignee Claimed by @k4b7 View on GitHub
BabyHint
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Take a look at this simplified example program: https://www.khanacademy.org/computer-programming/oh-noes-misfire/6562709088370688
I usually run into this problem when I carelessly cut and paste code around, and forget to bring the variables that the code snippet depends on. The problem is that oh noes instead of reminding me that (for example) "bw is not defined" gets confused and thinks pos should be pop..
"Oh noes!
Did you mean to type pop instead of pos?
Show me where"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.