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

Add refined return type for context #9

Closed
wants to merge 3 commits into from

Conversation

mielientiev
Copy link
Contributor

No description provided.

@@ -35,8 +35,9 @@ object Prefix {
* @return a new instance of a [[Prefix]]
*/
def apply(interpolator: Interpolator, stringContext: StringContext):
Prefix[interpolator.ContextType, interpolator.type] =
Prefix[interpolator.type#Output, interpolator.ContextType, interpolator.type] =
Copy link
Owner

Choose a reason for hiding this comment

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

Can we write interpolator.Output instead of interpolator.type#Output? I think they should be identical.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@propensive propensive mentioned this pull request May 3, 2017
@propensive propensive closed this Nov 6, 2020
@propensive propensive deleted the branch propensive:master Nov 6, 2020
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.

None yet

2 participants