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

@api annotation (or something to mark `FunctionX`-es that should not be transformed to `MiniboxedFunctionX`) #115

Closed
VladUreche opened this issue Jul 14, 2014 · 2 comments

Comments

@VladUreche
Copy link
Member

@VladUreche VladUreche commented Jul 14, 2014

scala> class api extends annotation.StaticAnnotation with annotation.TypeConstraint
defined class api

scala> def doSomethingWith[T](f: T => T @api) = f
doSomethingWith: [T](f: T => T @api)T => T @api

This should not be later transformed to:

doSomethingWith: [T](f: MiniboxedFunction1[T, T] @api)MiniboxedFunction1[T, T] @api
@VladUreche
Copy link
Member Author

@VladUreche VladUreche commented Nov 27, 2014

This is subsumed by the bridges generated automatically following bug #135.

@VladUreche VladUreche closed this Nov 27, 2014
@VladUreche
Copy link
Member Author

@VladUreche VladUreche commented Nov 27, 2014

Or maybe not: if you're not overriding anything from outside, no bridge is generated. So it's a valid issue.

@VladUreche VladUreche reopened this Nov 27, 2014
@VladUreche VladUreche self-assigned this Nov 27, 2014
@VladUreche VladUreche added this to the 0.4 milestone Nov 27, 2014
VladUreche added a commit that referenced this issue Feb 26, 2015
VladUreche added a commit that referenced this issue Feb 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.