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

refactor(role): CtCodeSnippet has CtRole.SOURCE_CODE #1623

Merged
merged 1 commit into from
Oct 19, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

This PR introduces new CtRole.SOURCE_CODE, which is used for value of CtCodeSnippet. Before there was CtRole.EXPRESSION, which has different meaning.

@monperrus
Copy link
Collaborator

it makes indeed much sense. I would rename it to "SNIPPET" to be even more explicit.

@pvojtechovsky
Copy link
Collaborator Author

Nice name! Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants