rhombus-prototype
rhombus-prototype copied to clipboard
When a `class` has multiple `internal` clauses, only the first internal name gets the `annot`, `bind`, or `namespace` meanings
#lang rhombus
class Foo(x):
internal Bar
internal Baz
let Baz(_) = Foo()
gives:
Baz: misplaced binding;
the identifier is not bound as a macro, and no infix operator appears afterward
bound in spaces:
expressions, definitions, and declarations in: Baz