Skip to content

DML Type System #65

Open

Description

@JonatanWaern

Currently the server only tracks the locations of type references, and does not attempt to construct semantic descriptions of types, as a result we cannot currently:

  • Got ref/def on types
  • Detect assignments of incorrect type, including passing wrong type of argument
  • Detect attempts to access non-shared methods from shared contexts
  • Detect cyclic types, or conflicting type names
  • Detect invalid layout or bitfield definitions
  • Detect invalid usage of hook or saved types
  • And probably more stuff

Activity

  1. self-assigned this
    on Feb 12, 2025
  2. JonatanWaern commented on Aug 27, 2026

    @JonatanWaern
    ContributorAuthor

    #232 adds basic type-system semantics, together with goto-def and find-ref functionality on type declarations and references. It also adds goto-type-decl support for references, likely only restricted by our current restrictions on reference resolution (limited by #13 ), and override type checks on arguments/returns.

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions