Skip to content
Playground(another site)

bynk.resolve.unknown_name

Error Referenced a name that is not in scope.

A name was referenced that is not in scope. Every name in Bynk must be introduced before use — as a let binding, a parameter, a fn, a type, or a member brought in through uses/consumes. An unknown name is typically a typo, a missing declaration, or a reference to something defined in a module that has not been brought into scope.

Example

let greeting = "hi"
greetng // ✗ no name `greetng` in scope
greeting // ✓ the bound name

In the Book

See also

  • Every code in its category, Resolution, on the diagnostic index.
  • bynk explain bynk.resolve.unknown_name shows the same from the installed toolchain, without a network.