Skip to content

No semantic tokens in where clauses and for poly types #1673

Description

@thetarnav
foo :: proc (a: $T/[2]$S) -> T // <- `T` has no semantic token and cannot go to definition
    where intrinsics.type_is_numeric(S)
    //         ^           ^         ^
    //      no semantic tokens       |
    //                      no semantic tokens, go to def does not work
{
    when intrinsics.type_is_numeric(S) {
        //                          ^
        return T{} //  <-- no semantic tokens, go to def does not work
    }
}

Interestingly I already made an issue for where clauses before: #446

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions