Skip to content

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

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 */

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions