Skip to content

Panic for extend self in anonymous module #889

Description

@Earlopain

ruby-spec has some code like this:

Module.new do
  extend self
end

Rubydex panics at the following location when trying to unwrap None

self.current_lexical_scope_name_id().unwrap(),

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