recipes · recipe ·

Make a mistake on purpose

Learn a calm way to read and fix a compiler error.

cpurecipe

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.

start.yh

Status: complete-program

Make a mistake on purpose

Learn a calm way to read and fix a compiler error.

cpu · type checked

Console.Log("I can fix this.")
project.mech
manifestVersion = "2"
package = "api.example.recipe__mistakes"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Expected output
I can fix this.
Notes and source

Remove the closing quote, observe the failure, then restore it. Next misspell Console as Consol and compare the kind of problem.

demonhunterlabs/app/lib/yeho-walkthrough.ts