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 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 commented Nov 27, 2014

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

@VladUreche
Copy link
Member Author

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.

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

No branches or pull requests

1 participant