Skip to content

Namespace nested within incomplete class gets confused with identically-named top-level namespace #760

@distractedlambda

Description

@distractedlambda
#lang rhombus

class Foo():
  export math
  namespace math:
    def my_pi = Foo.math.pi /* succeeds, but should not */

def my_other_pi = Foo.math.pi /* correctly fails */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions