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

Enable choosing a Position with/without owning scope #387

Merged
merged 1 commit into from
May 19, 2024

Conversation

hearnadam
Copy link
Collaborator

No description provided.

end fileNameWithLine

private def withOwner(using Quotes): Expr[Position] =
Expr(s"${fileNameWithLine.valueOrAbort} - $owner")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've never used this operator, but it seems correct.

Comment on lines 12 to 13
object WithOwner:
inline given derive: Position = ${ Position.withOwner }
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm biased, but I don't think we need owner by default. Up to you @fwbrasil

@fwbrasil fwbrasil merged commit a73a96f into getkyo:main May 19, 2024
3 checks passed
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