Skip to content

Fix indexing of class generic definitions #192

@matthewnitschke-wk

Description

@matthewnitschke-wk

Currently generics are indexed as class definitions

class Foo<T> {}
//        ^ scip-dart pub ... lib/`foo.dart`/T#

Since T isn't actually a class, it shouldn't be indexed as such

scip-typescript indexes the above the following way:

class Foo<T> {}
//        ^ scip-typescript npm ... lib/`foo.dart`/Foo#[T]

we should mirror this in scip-dart

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