@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

Projects
None yet
1 participant
@VladUreche
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

This comment has been minimized.

Show comment
Hide comment
@VladUreche

VladUreche Nov 27, 2014

Member

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

Member

VladUreche commented Nov 27, 2014

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

@VladUreche VladUreche closed this Nov 27, 2014

@VladUreche

This comment has been minimized.

Show comment
Hide comment
@VladUreche

VladUreche Nov 27, 2014

Member

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

Member

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