Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sourcekitten does not return extension declarations #334

Closed
pcantrell opened this issue Oct 30, 2015 · 1 comment
Closed

Sourcekitten does not return extension declarations #334

pcantrell opened this issue Oct 30, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@pcantrell
Copy link
Collaborator

For an extension of A, sourcekitten gives the original declaration of A instead of the extension declaration:

  {
    "key.kind" : "source.lang.swift.decl.extension",
    ...
    "key.annotated_decl" : "<Declaration>public final class List&lt;T : <Type usr=\"s:C10RealmSwift6Object\">Object<\/Type>&gt; : <Type usr=\"s:C10RealmSwift8ListBase\">ListBase<\/Type><\/Declaration>",
    ...

As far as I can tell, this prevents Jazzy from being able to show type constraints on extensions.

@jpsim
Copy link
Collaborator

jpsim commented Dec 30, 2015

Fixed in #441.

@jpsim jpsim closed this as completed Dec 30, 2015
@pigeon-archive pigeon-archive modified the milestone: The Past Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants