{"id":"recipe--mistakes","name":"Make a mistake on purpose","owner":"yeho","package":"recipes","kind":"recipe","signature":"start.yh","description":"Learn a calm way to read and fix a compiler error.","context":"An error message is the compiler asking for something more precise. It is not a grade. We can use one deliberately to learn what to do when a larger program goes wrong. Start with the working line below. Remove its closing quotation mark, save, and run. The compiler should stop instead of making your new program. The exact diagnostic text can differ between compiler versions.","parameters":[],"returns":"","members":[],"tags":["cpu","recipe"],"updated":"2026-09-09","source":{"repository":"demonhunterlabs","path":"app/lib/yeho-walkthrough.ts"},"status":"complete-program","notes":["Remove the closing quote, observe the failure, then restore it. Next misspell Console as Consol and compare the kind of problem."],"examples":[{"id":"program","title":"Make a mistake on purpose","description":"Learn a calm way to read and fix a compiler error.","code":"Console.Log(\"I can fix this.\")","manifest":"manifestVersion = \"2\"\npackage = \"api.example.recipe__mistakes\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu"],"run":"cpu-oracle","expected":"I can fix this.","verification":"type checked","sha256":"35a794b999a1773a6e48e973f52050f965e0b6fd5b4217f3bcdcc91a6a1ce235","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=recipe--mistakes","json":"https://demonhunterlabs.com/reference/items/recipe--mistakes.json","markdown":"https://demonhunterlabs.com/reference/text/recipe--mistakes.md"}
