Skip to content

Type references can resolve to classes #530

Closed
@Julow

Description

@Julow

In the example below, type-c resolves to `Identifier (`Class (`Root (Common.root, Root), c)) but we'd expect a type.

class c : object
  method m : int
end

Currently type-c.m resolves but shouldn't because the type c would be an object type and not a class (#525)

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