rhombus-prototype icon indicating copy to clipboard operation
rhombus-prototype copied to clipboard

When a `class` has multiple `internal` clauses, only the first internal name gets the `annot`, `bind`, or `namespace` meanings

Open distractedlambda opened this issue 2 months ago • 0 comments

#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

distractedlambda avatar Dec 10 '25 19:12 distractedlambda