Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Update scope to default to static when memberof#1151

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lcharbon wants to merge1 commit intodocumentationjs:master
base:master
Choose a base branch
Loading
fromlcharbon:master

Conversation

lcharbon
Copy link

fix: Update scope to default to static when memberof
fix#197

@@ -22933,12 +22934,13 @@ Array [
"static": Array [],
},
"name": "getUndefined",
"namespace": "MyClass.getUndefined",
"namespace": ".MyClass.getUndefined",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks like this is a regression? Namespaces shouldn't start with..

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is a strange case. In the testsMyClass is a member ofcom.Test. Howevercom.Test is never defined. Should the name space becom.Test.MyClass.getUndefined? or should it remainMyClass.getUndefined?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This should probably remain asMyClass.getUndefined, and the way we format namespaces should avoid prefixing static scopes with.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@tmcw there's currently anamespace on master in the test snapshots that starts with a..

This is the same scenario as above except in this case the static is implied from the syntax tree instead of being assumed based on the@memberof tag.

Addingmemo &&here would remove the leading. in all cases including cases currently in master. Let me know how I should proceed.

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

@tmcwtmcwtmcw left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Fix namespace paths in type autolinking
2 participants
@lcharbon@tmcw

[8]ページ先頭

©2009-2025 Movatter.jp